Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.jason/inline2.C

raw
1 // { dg-do assemble }
2 // { dg-options "-O" }
3 // Bug: the lang-specific bits of the decl for g aren't being copied when
4 // inlining.
5
6 inline void f () {
7 void g ();
8 }
9
10 void h() {
11 f(); // causes compiler segfault -
12 }