scc

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

0098-tentative.c (133B)


      1 int x;
      2 int x = 3;
      3 int x;
      4 
      5 int main();
      6 
      7 void *
      8 foo()
      9 {
     10 	return &main;
     11 }
     12 
     13 int
     14 main()
     15 {
     16 	if (x != 3)
     17 		return 0;
     18 
     19 	x = 0;
     20 	return x;
     21 }
     22