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
234 B

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;
}