https://github.com/TPPPP72 commented:
Looks like it's unrelated to `__is_trivially_equality_comparable`, right? So we
can just simplified the test to
```
namespace GH194605 {
struct S {
int [[clang::address_space(1)]] i; // expected-error {{field may not be
qualified with an address space}}
bool operator==(const S &) const = default;
};
static_assert(S{} == S{});
```
https://github.com/llvm/llvm-project/pull/221570
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits