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

template<void> struct A;  // { dg-error "not a valid type" }

template<template<int> class> struct B {};

B<A> b;                  // { dg-error "template|invalid type" }