Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
inh-ctor28.C
blob: 59801a1d7bc2c41d0ac39500337dc1ac650229ef [
file
] [
log
] [
blame
]
// PR c++/81164
// { dg-do compile { target c++11 } }
struct
A
{};
struct
B
:
virtual
A
{};
struct
C
:
virtual
A
{};
struct
D
:
B
,
C
{
using
A
::
A
;
};
// { dg-error "not a direct base" }