diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/template1.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/template1.C | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/template1.C b/gcc/testsuite/g++.old-deja/g++.jason/template1.C deleted file mode 100644 index f3aa571483e..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/template1.C +++ /dev/null @@ -1,20 +0,0 @@ -// PRMS Id: 4688 -// Bug: g++ can't deal with templates instantiated within extern "C". -// Build don't link: - -class Gnaf { -public: - virtual int invariant (); -}; - -template <class T> class Array : public Gnaf { -public: - virtual int invariant(); -}; - -extern "C" -int foo() -{ - Array<int> toConv; - return 0; -} |