aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorNathaniel Shead <nathanieloshead@gmail.com>2023-11-09 19:05:09 -0500
committerNathan Sidwell <nathan@acm.org>2023-11-14 14:43:19 -0500
commit5b9ecce87e8f315e2681743d75401991cdfefa71 (patch)
treeafbf1d9c7b2628bdc22dfe9a1b5338bd8dfed326 /libcpp
parent353f146cebbf224520de1bdfa8e43ceba868cf62 (diff)
downloadgcc-5b9ecce87e8f315e2681743d75401991cdfefa71.zip
gcc-5b9ecce87e8f315e2681743d75401991cdfefa71.tar.gz
gcc-5b9ecce87e8f315e2681743d75401991cdfefa71.tar.bz2
c++: Fix exported using decls of templates
We need to look at DECL_TEMPLATE_RESULT to get the module attachment. PR c++/106849 gcc/cp/ChangeLog: * name-lookup.cc (do_nonmember_using_decl): Handle TEMPLATE_DECLs when checking module attachment. gcc/testsuite/ChangeLog: * g++.dg/modules/using-9.C: New test. Signed-off-by: Nathaniel Shead <nathanieloshead@gmail.com> Signed-off-by: Nathan Sidwell <nathan@acm.org>
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions