blob: 7db7215721ab2c97fb405e428b6a5e31a5e51d7f [file] [log] [blame]
/* Verify that a diagnostic is issued without crashing due to
--enable-checking catching a bug in the C front end. */
/* { dg-do compile } */
x()
{
foo (i);
/* { dg-error "undeclared" "undeclared-variable message" { target native } { 6 } } */
/* { dg-error "function it appears in" "reminder message" { target native } { 6 } } */
}