shithub: scc

ref: 249ecda69e6ec6de2dde995cc370239e9ff3e775
dir: /tests/cc/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];
}