https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116428
--- Comment #2 from Fedor Chelnokov <fchelnokov at gmail dot com> ---
This form
```
struct A {
friend bool operator==(A, A) noexcept = default;
friend bool operator==(A, A) noexcept;
};
static_assert( A{} == A{} );
```
is accepted by Clang, MSVC and EDG. Only GCC rejects it:
> error: call to non-'constexpr' function 'bool operator==(A, A)'
> warning: inline function 'bool operator==(A, A)' used but never defined
Online demo: https://godbolt.org/z/d7bzvhcfr