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

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

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