summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/error21.C
blob: e4d14eab60e485e912ae58b4d5eeb2cce54de2f7 (plain)
1
2
3
4
5
6
7
8
// PR c++/34273

struct A {};

struct B : A
{
  B() : A()... {} // { dg-error "cannot expand" }
};