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

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