scc

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

0081-calls.c (136B)


      1 int
      2 f1(char *p)
      3 {
      4 	return *p+1;
      5 }
      6 
      7 int
      8 main()
      9 {
     10 	char s = 1;
     11 	int v[1000];
     12 	int f1(char *);
     13 
     14 	if (f1(&s) != 2)
     15 		return 1;
     16 	return 0;
     17 }