Merged revisions 208012,208018-208019,208021,208023-208030,208033,208037,208040-20804...
[official-gcc.git] / main / gcc / testsuite / gcc.dg / 990506-0.c
blob3cd3be3fe520869745e77a91cb25e9753f458378
1 /* Verify that a diagnostic is issued without crashing due to
2 --enable-checking catching a bug in the C front end. */
3 /* { dg-do compile } */
4 x()
6 foo (i);
7 /* { dg-error "undeclared" "undeclared-variable message" { target *-*-* } { 6 } } */
8 /* { dg-message "function it appears in" "reminder message" { target *-*-* } { 6 } } */