Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/factory-ryu-6486.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
inh-ctor9.C
blob: 39751013bf3c95c8d9097a1faced257dfb457d63 [
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
;
// { dg-error "protected" }
};
B b
(
42
);
// { dg-error "this context" }