Sign in
gnu
/
gcc
/
1ba7adabf29eb671e418692fad076ea6edd08e3d
/
.
/
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" }