scc

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

0048-inits.c (156B)


      1 struct { int a; int b; int c; } s = {1, 2, 3};
      2 
      3 int
      4 main()
      5 {
      6 	if (s.a != 1)
      7 		return 1;
      8 	if (s.b != 2)
      9 		return 2;
     10 	if (s.c != 3)
     11 		return 3;
     12 
     13 	return 0;
     14 }