summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/void8.C
blob: e45c91c044c2021497a34c92f7558db45f84643b (plain)
1
2
3
4
5
6
7
//PR c++/28737

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

template<typename> struct B;

template<void N> struct B<A<N> > {};   // { dg-error "not a valid type|declared|invalid" }