summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/ctor4.C
blob: a3e4868e0d8e084a7a20c2517d844e9bd696f1ff (plain)
1
2
3
4
5
6
7
// PR c++/27279
// { dg-do compile }

struct A
{
  A(void,void);  // { dg-error "incomplete type|invalid use" }
};