aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2013-02-27 13:13:24 -0500
committerJason Merrill <jason@gcc.gnu.org>2013-02-27 13:13:24 -0500
commit140bec21b86df21fd9a0105dc5334ac45d172505 (patch)
tree35dd8290aca2f22ffa98a2e2de1913fb9eb7a5c3 /gcc/testsuite/g++.old-deja
parentbbb3a9e27368ae01b96b33becb3cf662c95eba2a (diff)
downloadgcc-140bec21b86df21fd9a0105dc5334ac45d172505.zip
gcc-140bec21b86df21fd9a0105dc5334ac45d172505.tar.gz
gcc-140bec21b86df21fd9a0105dc5334ac45d172505.tar.bz2
re PR c++/56358 ([C++11] Erroneous interaction of typedef and inherited constructor declarations)
PR c++/56358 PR c++/56323 * name-lookup.c (do_class_using_decl): Use ctor_identifier instead of the base name for inheriting ctors. (push_class_level_binding_1): Remove inheriting ctor handling. * pt.c (tsubst_decl) [USING_DECL]: Likewise. * class.c (add_implicitly_declared_members): Adjust. From-SVN: r196316
Diffstat (limited to 'gcc/testsuite/g++.old-deja')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/using3.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/using3.C b/gcc/testsuite/g++.old-deja/g++.other/using3.C
index f30ecbc..3df78f0 100644
--- a/gcc/testsuite/g++.old-deja/g++.other/using3.C
+++ b/gcc/testsuite/g++.old-deja/g++.other/using3.C
@@ -8,5 +8,5 @@ typedef struct {
} S;
struct B: S{
- using S::S; // { dg-error "" } no such field
+ using S::S; // { dg-error "" "" { target c++98 } } no such field
};