blob: 786f9fc98c1ddd0e1f40631a4e94e555ae6ec019 [file] [log] [blame]
// PR c++/25633
struct A {};
struct B : A
{
B() : A {} // { dg-error "initializer" "" { target c++98_only } }
}; // { dg-error "expected" }