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