summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.test-framework/dg-warning-exp-P.c
blob: 0350e52167aec52d51d53f4736604b0731a75512 (plain)
1
2
3
4
5
6
7
8
9
/* Test the tester; previously part of gcc.misc-tests/dg-9.c.  */
/* { dg-prms-id 42 } */
/* { dg-options "-Wall" } */

f () {	/* { dg-warning "return type" "warning test" } */
}	/* { dg-warning "control reaches end" "warning test" } */

main (int argc, char *argv[]) {	/* { dg-warning "return type" "warning test" } */
}	/* { dg-warning "control reaches end" "warning test" } */