Sign in
gnu
/
gcc
/
2ce0608ca3dca30518bec525c435f7bc4d7f9b70
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr94705.c
blob: 96392ab60ee12eb57e65e774b85594ff03ddb2b8 [
file
] [
log
] [
blame
]
/* PR c/94705 */
/* { dg-do compile } */
/* { dg-options "" } */
void
foo
();
int
bar
(
void
)
{
foo
(
baz
);
/* { dg-error "'baz' undeclared" } */
/* { dg-message "only once" "" { target *-*-* } .-1 } */
void
__attribute__
((
noinline
))
baz
(
void
);
}