aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/void9.C
blob: 319a684fa435c82bf484e219404f46a43aedaf69 (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-message "invalid" }