Sign in
gnu
/
gcc
/
57ea00136418991e847e46a6946a81a1df70c9a4
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
inline2.C
blob: b6198be14a6845b4f3f4ab0638d7e2b703c04835 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// { dg-options "-O" }
// Bug: the lang-specific bits of the decl for g aren't being copied when
// inlining.
inline
void
f
()
{
void
g
();
}
void
h
()
{
f
();
// causes compiler segfault -
}