aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/eh/spec3-static.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/g++.dg/eh/spec3-static.C')
-rw-r--r--gcc-4.9/gcc/testsuite/g++.dg/eh/spec3-static.C25
1 files changed, 0 insertions, 25 deletions
diff --git a/gcc-4.9/gcc/testsuite/g++.dg/eh/spec3-static.C b/gcc-4.9/gcc/testsuite/g++.dg/eh/spec3-static.C
deleted file mode 100644
index 15408effa..000000000
--- a/gcc-4.9/gcc/testsuite/g++.dg/eh/spec3-static.C
+++ /dev/null
@@ -1,25 +0,0 @@
-// PR c++/4381
-// Test that exception-specs work properly for classes with virtual bases.
-
-// { dg-do run }
-// { dg-options "-static" }
-
-class Base {};
-
-struct A : virtual public Base
-{
- A() {}
-};
-
-struct B {};
-
-void func() throw (B,A)
-{
- throw A();
-}
-
-int main(void)
-{
- try { func(); }
- catch (A& a) { }
-}