diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2012-08-23 09:44:08 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2012-08-23 09:44:08 +0000 |
commit | 8597cab14b29f161d4847976f604058e0ac983ea (patch) | |
tree | 2862f6b164d5a15639114c27d3cb1153d64a8bf6 /libgomp/Makefile.am | |
parent | fb489f55b58e5725bf04fbd26181c3c196fb5f32 (diff) | |
download | gcc-8597cab14b29f161d4847976f604058e0ac983ea.zip gcc-8597cab14b29f161d4847976f604058e0ac983ea.tar.gz gcc-8597cab14b29f161d4847976f604058e0ac983ea.tar.bz2 |
re PR c++/20420 (Incorrectly Accepts double declarations)
/cp
2012-08-23 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/20420
* name-lookup.c (supplement_binding_1): Handle specially enums
only in class templates.
(validate_nonmember_using_decl): Enforce 7.3.3/10 about duplicate
using declarations at function scope.
/testsuite
2012-08-23 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/20420
* g++.dg/lookup/using53.C: New.
From-SVN: r190618
Diffstat (limited to 'libgomp/Makefile.am')
0 files changed, 0 insertions, 0 deletions