aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2006-06-14 17:44:36 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2006-06-14 17:44:36 +0000
commitace4831de98f6caf6450cf57528f5a15eec6c9e1 (patch)
tree222304b644d89c1c1cd28e8b5be65b80e93e6bf3 /gcc/c-common.h
parentc3b11a40d026d3b25038f3300180e1b58a9b3b99 (diff)
downloadgcc-ace4831de98f6caf6450cf57528f5a15eec6c9e1.zip
gcc-ace4831de98f6caf6450cf57528f5a15eec6c9e1.tar.gz
gcc-ace4831de98f6caf6450cf57528f5a15eec6c9e1.tar.bz2
re PR c++/27227 (rejects valid code with some extern "C")
PR c++/27227 * decl.c (decls_match): Allow an extern "C" variable declarations from different namespaces to match. (duplicate_decls): Disallow redeclaring a variable with a different linkage specification. PR c++/27227 * g++.dg/lookup/linkage1.C: New test. * g++.dg/lookup/linkage2.C: Likewise. From-SVN: r114647
Diffstat (limited to 'gcc/c-common.h')
0 files changed, 0 insertions, 0 deletions