ref: 827b4cdaa90cabaa1ee149a79ceb4cf7c7813f47
dir: /cc1/tests/test053.c/
/*
name: TEST053
description: Basic test for initializer
error:
output:
S2 S
M3 I a
M4 I b
G5 S2 s
(
#I1
#I2
)
F6 I E
G7 F6 main
{
\
j L8 G5 M3 .I #I1 =I
r #I1
L8
j L9 G5 M4 .I #I2 =I
r #I2
L9
r #I0
}
*/
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;
}