scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | 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 }