summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.test-framework/dg-excess-errors-exp-XF.c
blob: 496c6a60d50d9fb13e42430d8b25b93ecd03dc2e (plain)
1
2
3
4
5
6
7
8
9
/* Test the tester; previously gcc.misc-tests/dg-8.c.  */
/* { dg-prms-id 42 } */
/* { dg-options "-Wall" } */
/* { dg-do compile } */
/* { dg-excess-errors "excess errors" } */

/* should get warning about defaulting return type - excess error */

main () { return 0; }