scc

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

0093-arrayinit.c (135B)


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