]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.eh/catch14.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.eh / catch14.C
diff --git a/gcc/testsuite/g++.old-deja/g++.eh/catch14.C b/gcc/testsuite/g++.old-deja/g++.eh/catch14.C
deleted file mode 100644 (file)
index 96be464..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright (C) 2001 Free Software Foundation, Inc.
-// Contributed by Jakub Jelinek 2 May 2001 <jakub@redhat.com>
-
-// Build don't link:
-// Special g++ Options: -O1
-
-void foo();
-
-struct A {
-  A (int x) { };
-  ~A() {
-    try {
-      foo ();
-    } catch (...) { }
-  };
-};
-
-struct B;
-
-B *x;
-
-struct B {
-  void a();
-  void b();
-  static B* c() {
-    A y = 0;
-    return x;
-  };
-};
-
-void B::a() {
-  c()->b();
-}