scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

0096-inferredarraysize.c (98B)


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