scc

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

0046-inits.c (141B)


      1 int x = 5;
      2 long y = 6;
      3 int *p = &x;
      4 
      5 int
      6 main()
      7 {
      8 	if (x != 5) 
      9 		return 1;
     10 	if (y != 6)
     11 		return 2;
     12 	if (*p != 5)
     13 		return 3;
     14 	return 0;
     15 }
     16