scc

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

0040-cast.c (98B)


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