blob: d501c5b97c1b68315ae308c7b539619421625499 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// { dg-do compile { target c++11 } }
// PR 78488, seg fault with inherited ctor
struct Foo { Foo() {} };
struct Bar : Foo {
using Foo::Foo;
Bar(void*);
};
int main() {
Bar f;
}
|