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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Here is a simple compile time testcase:
struct Elem {
    Elem* next_ = this;
};

constexpr Elem rs[1];
static_assert (rs[0].next_ == rs);

Reply via email to