Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
)
{
}