summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/void12.C
blob: 1d064b63e0c17be56d7cf6472a9383e28e194a27 (plain)
1
2
3
4
5
6
7
// PR c++/28639

template<void> struct A  // { dg-error "not a valid type" }
{
  static const int i = 1;
  char a[i];
};