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.
 
 
 

14 rivejä
154 B

int x = 10;
struct S {int a; int *p;};
struct S s = { .p = &x, .a = 1};
int
main()
{
if(s.a != 1)
return 1;
if(*s.p != 10)
return 2;
return 0;
}