PR c++/85580 - extern "C" and local variables
authorJason Merrill <jason@redhat.com>
Tue, 1 May 2018 12:45:49 +0000 (08:45 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 1 May 2018 12:45:49 +0000 (08:45 -0400)
commit38dff92114f41914541fded07bee54c48b817ee2
tree46b4f311b012c8230c310b686837f4c444fdab95
parent879bdafad2621aae5d01ec58b45d8ea2f5ccf11e
PR c++/85580 - extern "C" and local variables

* name-lookup.c (check_extern_c_conflict): Ignore local decls.

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