scc

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

0032-krtypes.c (178B)


      1 /*
      2 PATTERN:
      3 0032-krtypes.c:21: error: too many arguments in function call
      4 .
      5 */
      6 
      7 int f();
      8 
      9 int bar()
     10 {
     11     return f(0);
     12 }
     13 
     14 int f()
     15 {
     16     return 0;
     17 }
     18 
     19 int z()
     20 {
     21     return f(0);
     22 }