summaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>1998-12-03 16:58:03 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>1998-12-03 16:58:03 +0000
commit1fc849290e875a9511dbdb80140fbf4c5524ad46 (patch)
treeb46735bab28a343106b9d77c6ed5d1bb21f63107 /gcc/testsuite
parent5d9e72b0cef9fb8b3c79b11fd94c323d70d6a193 (diff)
downloadgcc-1fc849290e875a9511dbdb80140fbf4c5524ad46.tar.gz
* class.c (handle_using_decl): Fix comment. Don't lookup
constructors in base classes. (validate_lhs): Fix typo in comment. * search.c (lookup_field_1): Don't return a USING_DECL. * cp-tree.h (DECL_ACCESS): Improve documentation. * decl.c (expand_static_init): Don't set the initialization-done flag until the initialization is done. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24076 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/init7.C2
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/singleton.C1
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/using6.C4
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/using7.C15
4 files changed, 1 insertions, 21 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/init7.C b/gcc/testsuite/g++.old-deja/g++.other/init7.C
index 9a3d5d03dfa..3b17da029e8 100644
--- a/gcc/testsuite/g++.old-deja/g++.other/init7.C
+++ b/gcc/testsuite/g++.old-deja/g++.other/init7.C
@@ -4,8 +4,6 @@
// The initialization of a static local variable must be retried if a
// previous try finished by throwing an exception [stmt.dcl]/4
-// execution test - XFAIL *-*-*
-
struct foo {
foo() { throw true; }
};
diff --git a/gcc/testsuite/g++.old-deja/g++.other/singleton.C b/gcc/testsuite/g++.old-deja/g++.other/singleton.C
index c2c481075ff..075d83ac79a 100644
--- a/gcc/testsuite/g++.old-deja/g++.other/singleton.C
+++ b/gcc/testsuite/g++.old-deja/g++.other/singleton.C
@@ -1,4 +1,3 @@
-// execution test - re-initialization of statics XFAIL *-*-*
// This tests two things:
// 1. there is an annoying warning.
// singleton.C:26: warning: `class singleton' only defines private constructors and has no friends
diff --git a/gcc/testsuite/g++.old-deja/g++.other/using6.C b/gcc/testsuite/g++.old-deja/g++.other/using6.C
index 8e518ac95dd..31aa7cd560d 100644
--- a/gcc/testsuite/g++.old-deja/g++.other/using6.C
+++ b/gcc/testsuite/g++.old-deja/g++.other/using6.C
@@ -3,13 +3,11 @@
// Based on bug report by Klaus-Georg Adams
// <Klaus-Georg.Adams@chemie.uni-karlsruhe.de>
-// crash test - XFAIL *-*-*
-
struct bar {
typedef bar t;
};
struct foo : bar {
using bar::t;
- t baz(); // gets bogus error - XFAIL *-*-*
+ t baz();
};
diff --git a/gcc/testsuite/g++.old-deja/g++.other/using7.C b/gcc/testsuite/g++.old-deja/g++.other/using7.C
deleted file mode 100644
index 76af0de7b06..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.other/using7.C
+++ /dev/null
@@ -1,15 +0,0 @@
-// Build don't link:
-
-// Based on bug report by Klaus-Georg Adams
-// <Klaus-Georg.Adams@chemie.uni-karlsruhe.de>
-
-// crash test - XFAIL *-*-*
-
-struct bar {
- typedef bar t;
-};
-
-struct foo : bar {
- using bar::t;
- t baz; // gets bogus error - XFAIL *-*-*
-};