blob: 98691101e860b90d6779cceaeb48ac479b0b9730 [file] [log] [blame]
// PR c++/58511
// { dg-do compile { target c++11 } }
struct A
{
constexpr A(int, int = i) {}
static const int i;
};
struct B : A
{
using A::A; // { dg-prune-output "A::i" }
};
constexpr B b(0); // { dg-error "" }