aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2023-03-17 09:43:48 -0400
committerJason Merrill <jason@redhat.com>2023-03-17 14:44:33 -0400
commitae7190e345a8d80310835cb83b3b41ef2aeb0d37 (patch)
treef1b345637d8bc1e4657fbc7e9de964d08d6e2cf9 /gcc/fortran
parent24c06560a7fa39049911eeb8777325d112e0deb9 (diff)
downloadgcc-ae7190e345a8d80310835cb83b3b41ef2aeb0d37.zip
gcc-ae7190e345a8d80310835cb83b3b41ef2aeb0d37.tar.gz
gcc-ae7190e345a8d80310835cb83b3b41ef2aeb0d37.tar.bz2
c++: namespace-scoped friend in local class [PR69410]
do_friend was only considering class-qualified identifiers for the qualified-id case, but we also need to skip local scope when there's an explicit namespace scope. PR c++/69410 gcc/cp/ChangeLog: * friend.cc (do_friend): Handle namespace as scope argument. * decl.cc (grokdeclarator): Pass down in_namespace. gcc/testsuite/ChangeLog: * g++.dg/lookup/friend24.C: New test.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions