]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/virtual2.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / virtual2.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/virtual2.C b/gcc/testsuite/g++.old-deja/g++.pt/virtual2.C
deleted file mode 100644 (file)
index 052b049..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-// Build don't link:
-// Origin: Mark Mitchell <mark@codesourcery.com>
-
-template <class T>
-struct B 
-{
-  virtual void f() = 0;
-};
-
-template <class T>
-struct D : public B<T> {
-  virtual void f();
-};
-
-void g() {
-  B<int>* bi = new D<int>;
-};
-
-template <class T>
-void B<T>::f() {}
-