]> matita.cs.unibo.it Git - pkg-cerco/acc.git/blob - tests/GCCTestSuite/c99-main-1.c.expected
Imported Upstream version 0.2
[pkg-cerco/acc.git] / tests / GCCTestSuite / c99-main-1.c.expected
1 /* Test for implicit return 0 from main in C99.  */
2 /* Origin: Joseph Myers <jsm28@cam.ac.uk> */
3 /* { dg-do run } */
4 /* { dg-options "-std=iso9899:1999 -pedantic-errors -Wreturn-type -O -fhosted" } */
5
6 int
7 main (void)
8 {
9 } /* { dg-bogus "control reaches end" "missing implicit return" } */