scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

0226-pointer.c (160B)


      1 char *
      2 f1()
      3 {
      4 	return 1,2,3, (void *) 0;
      5 }
      6 
      7 char *
      8 f2()
      9 {
     10 	return 1,2,3, 0 ? "" : 0;
     11 }
     12 
     13 int
     14 main()
     15 {
     16 	if (f1())
     17 		return 1;
     18 	if (f2())
     19 		return 2;
     20 	return 0;
     21 }