diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/crash22.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/crash22.C | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/crash22.C b/gcc/testsuite/g++.old-deja/g++.pt/crash22.C new file mode 100644 index 000000000..c1d81b4fb --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.pt/crash22.C @@ -0,0 +1,9 @@ +// { dg-do assemble } + +template <class T> +struct S1 {}; + +template <class T, class U = S1<T> > +struct S2 {}; + +template struct S2<100>; // { dg-error "" } type/value mismatch |