summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/g++.dg/template/crash110.C
blob: d0a4b4ddcb8bc0eece2b9f73a8abd5268fa26874 (plain)
1
2
3
4
5
6
7
// PR c++/51402

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