summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/invalid1.C
blob: d2fcca6d3cd09b10db15fe6659337e7b4a3fc30d (plain)
1
2
3
4
5
6
7
8
// PR c++/14883
// { dg-options "-std=gnu++98" }

template < class T > struct DomainTraits {};
template < int Dim > class Interval;
template < class DT > class Domain {};
template <> class Interval < 1 >:public Domain < DomainTraits < Interval < 1 >
>> {}; // { dg-error "" }