shithub: scc

ref: 4be5b671982310f44410c71e58e88f2f2d8d2ef5
dir: /tests/0049-inits.c/

View raw version


struct S {int a; int b;};
struct S s = { .b = 2, .a = 1};

int
main()
{
	if(s.a != 1)
		return 1;
	if(s.b != 2)
		return 2;
	return 0;
}