https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111440
--- Comment #3 from Lénárd Szolnoki <leni536 at gmail dot com> --- Note that GCC seems to implement CWG2352 outside of ternary operators. https://godbolt.org/z/rnMcPqE7b ``` template <typename T> void foo(); bool bar() { int * ptr = nullptr; const int * const &ref = ptr; return &ref == &ptr; // returns true } ``` from GCC 10 `bar` returns true.