diff options
Diffstat (limited to 'gcc_arm/testsuite/g++.old-deja/g++.pt/crash15.C')
-rwxr-xr-x | gcc_arm/testsuite/g++.old-deja/g++.pt/crash15.C | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc_arm/testsuite/g++.old-deja/g++.pt/crash15.C b/gcc_arm/testsuite/g++.old-deja/g++.pt/crash15.C new file mode 100755 index 0000000..75b1054 --- /dev/null +++ b/gcc_arm/testsuite/g++.old-deja/g++.pt/crash15.C @@ -0,0 +1,10 @@ +// Build don't link: + +template <class T> +template <class U> +struct A { // ERROR - too many template parameter lists +public: + A() {} + + A(const A<T>& b) {} // ERROR - invalid use of template +}; |