[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / void12.C
blob1d064b63e0c17be56d7cf6472a9383e28e194a27
1 // PR c++/28639
3 template<void> struct A  // { dg-error "not a valid type" }
5   static const int i = 1;
6   char a[i];
7 };