c++: constantness of call to function pointer [PR111703]
[official-gcc.git] / gcc / testsuite / g++.dg / parse / ctor3.C
blob786f9fc98c1ddd0e1f40631a4e94e555ae6ec019
1 // PR c++/25633
3 struct A {};
5 struct B : A
7   B() : A {} // { dg-error "initializer" "" { target c++98_only } }
8 };                      // { dg-error "expected" }