]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.eh/spec7.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.eh / spec7.C
diff --git a/gcc/testsuite/g++.old-deja/g++.eh/spec7.C b/gcc/testsuite/g++.old-deja/g++.eh/spec7.C
deleted file mode 100644 (file)
index 1945b84..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// Test that we allow simple throw specs on pointers.
-
-void f() throw () { }
-void (*pf)() throw () = f;
-
-struct A
-{
-  void g() throw () { }
-  static void (A::*pmf)() throw ();
-};
-
-void (A::* A::pmf)() = &A::g;
-
-int main()
-{
-  pf ();
-  A a;
-  (a.*A::pmf)();
-}