C compiler with embedded metalanguage.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
197 B

typedef struct {
int v;
int sub[2];
} S;
S a[1] = {{1, {2, 3}}};
int
main()
{
if (a[0].v != 1)
return 1;
if (a[0].sub[0] != 2)
return 2;
if (a[0].sub[1] != 3)
return 3;
return 0;
}