]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.dg/eh/template2.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.dg / eh / template2.C
diff --git a/gcc/testsuite/g++.dg/eh/template2.C b/gcc/testsuite/g++.dg/eh/template2.C
deleted file mode 100644 (file)
index ed38932..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// { dg-do compile }
-// { dg-options -O2 }
-
-template<class T> struct O {
-  O(T *p) : q(p) { }
-  T *q;
-};
-struct W {
-  virtual ~W();
-};
-struct S : public W {
-  S (int *);
-};
-W *bar(int);
-S::S (int *x)
-{
-  for (int *p = x; *p; p++)
-    O<W> i (bar (*p));
-}