re PR debug/31899 (-g and using declaration causing ICE in reference_to_unused)
[official-gcc.git] / gcc / testsuite / gcc.test-framework / dg-warning-exp-P.c
blob293e1194df4920dc5749a39c2df5537c9e39ee9f
1 /* Test the tester; previously part of gcc.misc-tests/dg-9.c. */
2 /* { dg-prms-id 42 } */
3 /* { dg-options "-Wall" } */
5 f ()
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-warning "control reaches end" "warning test" } */