aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/crash22.C
blob: e947ef3ffe4c0e1134a488dc83f81b9ba4db005a (plain)
1
2
3
4
5
6
7
8
9
// Build don't link:

template <class T>
struct S1 {};

template <class T, class U = S1<T> > 
struct S2 {};

template struct S2<100>; // ERROR - type/value mismatch