scc

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

0075-ptraddasn.c (117B)


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