scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

0054-struct.c (143B)


      1 int
      2 main()
      3 {
      4 	struct T { int x; } s1;
      5 	s1.x = 1;
      6 	{
      7 		struct T { int y; } s2;
      8 		s2.y = 1;
      9 		if (s1.x - s2.y != 0)
     10 			return 1;
     11 	}
     12 	return 0;
     13 }