mips-cc

A little C compiler
git clone git@git.mpah.dev/mips-cc.git
Log | Files | Refs | README

14.test (113B)


      1 int main()
      2 {
      3 	int c = 1;
      4 	return 0;
      5 }
      6 
      7 int add(int a, int b)
      8 {
      9 	/* int d = c; // should fail */
     10 	return a + b;
     11 }