Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
clang-tests
/
gcc-4_2-testsuite
/
src
/
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 -
}