shithub: scc

ref: 0cc8cbda0c7ac4ea844f0c2559e4c4fb90b7efaa
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];
}