https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125957

Sergey Shumakov <skarnproject at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |skarnproject at gmail dot com

--- Comment #4 from Sergey Shumakov <skarnproject at gmail dot com> ---
Related: dependent type context seems to worsen the otherwise workable access
with protected data members.

This seems to pass on trunk, but fail on gcc-16.1.
https://godbolt.org/z/ss4Kobdo8

This fails even on trunk:
https://godbolt.org/z/vcE9Mxrnz

Reply via email to