Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
inh-ctor25.C
blob: fcb6e84ae4b9336ea1176992dac265345db14c20 [
file
] [
log
] [
blame
]
// PR c++/79401
// { dg-do compile { target c++11 } }
class
B
{
protected
:
B
(
int
,
int
);
};
class
C
:
public
B
{
protected
:
using
B
::
B
;
};
class
A
:
public
C
{
A
(
char
*);
};
A
::
A
(
char
*)
:
C
(
0
,
0
)
{
}