aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp2a/constexpr-dtor18.C
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2025-10-14 12:56:23 -0400
committerPatrick Palka <ppalka@redhat.com>2025-10-14 12:56:23 -0400
commit97da8fece19caf0277c2be523520d09252821973 (patch)
treef3c877dcbe69e32455558960183fe0a51f59a3a2 /gcc/testsuite/g++.dg/cpp2a/constexpr-dtor18.C
parent6e9ab669b584496dd628700d0d69bd20c5c12ca7 (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
c++: mem-initializer-id qualified name lookup is type-only [PR122192]HEADtrunkmaster
Since a mem-initializer needs to be able to initialize any base class, lookup for which is type-only, we in turn need to make mem-initializer-id qualified name lookup type-only too. PR c++/122192 gcc/cp/ChangeLog: * parser.cc (cp_parser_mem_initializer_id): Pass class_type instead of typename_type to cp_parser_class_name in the nested-name-specifier case. gcc/testsuite/ChangeLog: * g++.dg/template/dependent-base6.C: Verify mem-initializer-id qualified name lookup is type-only too. Reported-by: Vincent X Reviewed-by: Jason Merrill <jason@redhat.com>
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp2a/constexpr-dtor18.C')
0 files changed, 0 insertions, 0 deletions