scc

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

0162-array.c (156B)


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