Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
undefined1.C
blob: 87fa3ec5a62966aeb5d40e135979168b6d3fe604 [
file
] [
log
] [
blame
]
// PR 17256
inline
static
void
f1
(
void
);
// { dg-warning "used but never" }
void
g1
(
void
)
{
if
(
0
)
{
f1
();
}
}
inline
void
f2
(
void
);
// { dg-warning "used but never" }
void
g2
(
void
)
{
if
(
0
)
{
f2
();
}
}