summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/ctor3.C
blob: e597d926f40d2032b2cc4b1c6adc4a95e38b3d77 (plain)
1
2
3
4
5
6
7
8
// PR c++/25633

struct A {};

struct B : A
{
  B() : A {}			// { dg-error "initializer|expected" }
};