Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
inh-ctor9.C
blob: 5bfdd499d46cec4bb51b7c25f2c1e8359f8a8700 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
class
A
{
int
i
;
protected
:
A
(
int
i
):
i
(
i
)
{}
};
struct
B
:
A
{
using
A
::
A
;
};
B b
(
42
);
// { dg-error "this context" }