https://gcc.gnu.org/bugzilla/show_bug.cgi?id=129289
Bug ID: 129289
Summary: Cannot take a member pointer of a base class property
Product: gcc
Version: 16.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: sainan+gcc.bugzilla at calamity dot gg
Target Milestone: ---
Created attachment 66390
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=66390&action=edit
Minimal reproduction
It seems GCC fails to evaluate '&T::member' when 'member' is a property of a
base class of 'T' and not 'T' itself, whereas the same works in Clang and MSVC.