[Bug c++/85739] [8/9 Regression] internal compiler error: in finish_member_declaration, at cp/semantics.c:3057
ensadc at mailnesia dot com
gcc-bugzilla@gcc.gnu.org
Mon May 14 16:33:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85739
ensadc at mailnesia dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ensadc at mailnesia dot com
--- Comment #4 from ensadc at mailnesia dot com ---
struct l { int k; };
template <int l::*> class b { };
template <const int l::*> class B { using e = int; };
template <int l::*i, const int l::*n>
bool operator!=(B<n>, b<i>);
bool bb = (B<&l::k>() != b<&l::k>());
also reproduces it.
More information about the Gcc-bugs
mailing list