blob: a307890cb9dbf24c9704908222b1ebf0ce5b2d33 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
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;
}
|