(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
template/
void13.C
// PR c++/30299

struct A
{
  int i;
};

template<void> struct B : A  // { dg-error "not a valid type" }
{
  B() { this->i; }
};