diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/t14.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/t14.C | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/t14.C b/gcc/testsuite/g++.old-deja/g++.pt/t14.C deleted file mode 100644 index 8532f2b3501..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/t14.C +++ /dev/null @@ -1,24 +0,0 @@ -// Build don't link: - -class OBJECT -{ - int a; -}; - - - -template <class T> class TESTA -{ -public: - TESTA(); - T foo(int i) {T t = 0; return t}; // ERROR - no semi -}; - - - -void foo() -{ - TESTA<OBJECT *> *foo; - - foo = new TESTA<OBJECT *>; -} |