scc

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

0133-ftn_ptr.c (107B)


      1 int
      2 foo(void)
      3 {
      4 	return 0;
      5 }
      6 
      7 int
      8 bar(void)
      9 {
     10 	return 24;
     11 }
     12 
     13 int
     14 main(void)
     15 {
     16 	return (1 ? foo : bar)();
     17 }