aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin v. Löwis <loewis@gcc.gnu.org>1999-02-23 09:11:19 +0000
committerMartin v. Löwis <loewis@gcc.gnu.org>1999-02-23 09:11:19 +0000
commitf004c66b23589cf4665aa04d9ad9f5831f11486a (patch)
tree0a964de056ee4b0987388b96ca5d3d4bfd28d517
parent8be64d09528ddca088f48547cb1794c5b089aaa7 (diff)
downloadgcc-f004c66b23589cf4665aa04d9ad9f5831f11486a.zip
gcc-f004c66b23589cf4665aa04d9ad9f5831f11486a.tar.gz
gcc-f004c66b23589cf4665aa04d9ad9f5831f11486a.tar.bz2
Mark failing code as XFAIL
From-SVN: r25387
-rw-r--r--gcc/testsuite/g++.old-deja/g++.eh/spec6.C20
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.eh/spec6.C b/gcc/testsuite/g++.old-deja/g++.eh/spec6.C
index dd0a4d7..e9e3e77 100644
--- a/gcc/testsuite/g++.old-deja/g++.eh/spec6.C
+++ b/gcc/testsuite/g++.old-deja/g++.eh/spec6.C
@@ -7,18 +7,18 @@
// [except.spec] 1, a type in an exception specifier shall not be incomplete,
// or pointer or ref to incomplete
-struct X; // ERROR - forward declaration
-void fn1() throw(X); // ERROR - incomplete type
-void fn2() throw(X *); // ERROR - incomplete type
-void fn3() throw(X &); // ERROR - incomplete type
-void fn4() throw(void); // ERROR - incomplete type
+struct X; // ERROR - forward declaration - XFAIL
+void fn1() throw(X); // ERROR - incomplete type - XFAIL
+void fn2() throw(X *); // ERROR - incomplete type - XFAIL
+void fn3() throw(X &); // ERROR - incomplete type - XFAIL
+void fn4() throw(void); // ERROR - incomplete type - XFAIL
// except for cv pointer to void
void fn5() throw(void *);
// [except.spec] 2, exception specifiers must be the same set of types (but
// can be reordered)
-void fn() throw(int, char);
-void fn() throw(char, int){}
+void fn() throw(int, char); // gets bogus error - XFAIL
+void fn() throw(char, int){} // gets bogus error - ordering is irrelevant - XFAIL
// [except.spec] 3, virtual function overriders shall throw a subset of the
// overridden function
@@ -35,12 +35,12 @@ struct A
struct B : A
{
- virtual void foo() throw(int); // ERROR - not in base function
+ virtual void foo() throw(int); // ERROR - not in base function - XFAIL
virtual void baz() throw(double);
virtual void bar(int) throw(int);
virtual void qux() throw(F);
- virtual void quux() throw(E); // ERROR - not in base function
+ virtual void quux() throw(E); // ERROR - not in base function - XFAIL
};
// [except.spec] 5, types shall not be defined in exception specifiers
-void fn6() throw(struct Z {}); // ERROR - types shall not be defined
+void fn6() throw(struct Z {}); // ERROR - types shall not be defined - XFAIL