https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103833
--- Comment #2 from Fedor Chelnokov <fchelnokov at gmail dot com> --- Same issue in Clang has been fixed: https://github.com/llvm/llvm-project/issues/52883 Another observation is that `(&(A::m))(0)` was always supported by Clang and MSVC. Demo: https://gcc.godbolt.org/z/q16837dax