blob: a083c85e752b667f1b1efdcbb4836fa9062ae594 [file] [log] [blame]
// PR c++/51612
// { dg-do compile { target c++11 } }
struct A {};
struct B : virtual A
{
constexpr B() { } // { dg-error "has virtual base classes" }
};