aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/inline2.C
blob: 7dea476d373e1c7ca76fe7f62af5e4bcee406a2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Bug: the lang-specific bits of the decl for g aren't being copied when
// inlining.
// Special g++ Options: -O
// Build don't link:

inline void f () {
  void g ();
}

void h() {
  f();				// causes compiler segfault - 
}