scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

0045-struct.c (135B)


      1 struct T;
      2 
      3 struct T {
      4 	int x;
      5 };
      6 
      7 int
      8 main()
      9 {
     10 	struct T v;
     11 	{ struct T { int z; }; }
     12 	v.x = 2;
     13 	if(v.x != 2)
     14 		return 1;
     15 	return 0;
     16 }