diff options
author | Fabien Chêne <fabien@gcc.gnu.org> | 2012-04-11 22:40:51 +0200 |
---|---|---|
committer | Fabien Chêne <fabien@gcc.gnu.org> | 2012-04-11 22:40:51 +0200 |
commit | af79925b5f99540716216ad419a7e312069079bd (patch) | |
tree | 43bf3c0280ad712e2711bc7271d35ca78f32ee7a /gcc/tree-parloops.c | |
parent | 6cc5558fe8380697c0274c905dc49637e1df0dcd (diff) | |
download | gcc-af79925b5f99540716216ad419a7e312069079bd.zip gcc-af79925b5f99540716216ad419a7e312069079bd.tar.gz gcc-af79925b5f99540716216ad419a7e312069079bd.tar.bz2 |
re PR c++/52465 (g++ rejects valid code with in-class using declaration)
gcc/testsuite/ChangeLog
2012-04-09 Fabien Chêne <fabien@gcc.gnu.org>
PR c++/52465
* g++.dg/lookup/using52.C: New.
gcc/cp/ChangeLog
2012-04-09 Fabien Chêne <fabien@gcc.gnu.org>
PR c++/52465
* parser.c (cp_parser_class_name): Call strip_using_decl and
return the target decl.
* name-lookup.c (strip_using_decl): Returns NULL_TREE if the decl
to be stripped is NULL_TREE.
(qualify_lookup): Call strip_using_decl and perform some checks on
the target decl.
From-SVN: r186355
Diffstat (limited to 'gcc/tree-parloops.c')
0 files changed, 0 insertions, 0 deletions