blob: 15d8ac73631494ece73e3d3e67deda44ac1f3202 [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 *-*-* } { 6 } } */
/* { dg-error "function it appears in" "reminder message" { target *-*-* } { 6 } } */
}