scc

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

0017-duplicatefunc.c (127B)


      1 /*
      2 PATTERN:
      3 0017-duplicatefunc.c:15: error: redefinition of 'main'
      4 .
      5 */
      6 
      7 int
      8 main()
      9 {
     10 	return 0;
     11 }
     12 
     13 int
     14 main()
     15 {
     16 	return 0;
     17 }
     18