blob: c656fb9a2339c2ae09d4af08119b5bfb7356e826 [file] [log] [blame]
// { dg-do compile { target c++11 } }
struct A
{
int i;
constexpr A(int i): i(i) {}
};
struct B: A
{
using A::A;
};
constexpr B b(42);
#define SA(X) static_assert((X),#X)
SA(b.i == 42);