summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/void9.C
blob: bb2ed66ff381614bf6d7ba51b6a8bf32c618ef98 (plain)
1
2
3
4
//PR c++/28738

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