☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
inh-ctor37.C
☽
☼
gcc/testsuite/g++.dg/cpp1z/inh-ctor37.C
code
plain
raw
1
// { dg-do compile { target c++11 } }
2
// PR 78488, seg fault with inherited ctor
3
4
struct Foo { Foo() {} };
5
6
struct Bar : Foo {
7
using Foo::Foo;
8
Bar(void*);
9
};
10
11
int main() {
12
Bar f;
13
}