summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/void3.C
blob: bb59934ffe4f7703b28e9ed153c8e71e443d59a1 (plain)
1
2
3
4
5
//PR c++/28637

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