2 /* { dg-prms-id 42 } */
3 /* { dg-options "-Wall" } */
6 { /* { dg-warning "return type" "warning test" } */
7 } /* { dg-warning "control reaches end" "warning test" } */
9 main (int argc
, char *argv
[])
10 { /* { dg-warning "return type" "warning test" } */
11 +; /* { dg-error "parse" "error test" } */
12 /* { dg-bogus "foobar" "bogus fail test" } */
14 return a
; /* { dg-bogus "undeclared|identifier|appears" "bogus pass test" { xfail *-*-* } } */
15 } /* { dg-warning "control reaches end" "warning test" } */