blob: 895e55bd078513012cca066e48513ca3c69dfd14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
struct s {
int x;
struct {
int y;
int z;
} nest;
};
int
main() {
struct s v;
v.x = 1;
v.nest.y = 2;
v.nest.z = 3;
if (v.x + v.nest.y + v.nest.z != 6)
return 1;
return 0;
}
|