scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | 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 }