]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/spec3.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / spec3.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/spec3.C b/gcc/testsuite/g++.old-deja/g++.pt/spec3.C
deleted file mode 100644 (file)
index b0e710f..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-extern "C" void abort();
-
-class X
-{
-  public:
-    virtual int f() const = 0;
-};
-
-template <class T>
-class Y: public X
-{
-  public:
-    virtual int f() const;
-};
-
-template <class T>
-int Y<T>::f() const
-{
-  abort();
-  return 0;
-}
-
-template <>
-int Y<bool>::f() const;
-
-template <>
-int Y<bool>::f() const
-{
-  return 0;
-}
-
-int main()
-{
-  Y<bool> yb;
-
-  yb.f();
-}