re PR c++/77812 (incorrectly rejects valid C++ code that uses enum in template instan...
authorNathan Sidwell <nathan@acm.org>
Wed, 11 Jan 2017 20:37:16 +0000 (20:37 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 11 Jan 2017 20:37:16 +0000 (20:37 +0000)
commit01bfd25762bea829b0ad271bc6daeddb7fcac22f
tree30420695cc5deaa81bb08362b482ff776c078de4
parent5b33cc835cfb82fee4508129bf849f40733e752f
re PR c++/77812 (incorrectly rejects valid C++ code that uses enum in template instantiation)

cp/
PR c++/77812
* name-lookup.c (set_namespace_binding_1): An overload of 1 decl
is a new overload.

testsuite/
PR c++/77812
* g++.dg/pr77812.C: New.

From-SVN: r244335
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr77812.C [new file with mode: 0644]