~mcf/cproc

ref: 34ae0d48e9669687003c26f94e07fa00d12dd41f cproc/test/struct-flexible-array.c -rw-r--r-- 102 bytes
34ae0d48Michael Forney Add tests for char/wchar_t signedness 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
struct s {
	int a;
	short b[];
};

int x = sizeof(struct s);

int f(struct s *s) {
	return s->b[2];
}