shithub: scc

ref: 9cdf8d4b4c9ecf24e8e065fdbf9a6aea48d5f4af
dir: /tests/execute/0166-desig.c/

View raw version
struct S {
	int a, b, c;
	char d[3];
	int e;
} s = {
	.a = 1,
	.b = 2,
	.d = {[0] = 3, [2] = 5},
	.d = {[0] = 4, [1] = 6}
};

char m[] = {};

int
main(void)
{
	return sizeof(m) == s.d[2];
}