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" }