blob: 7cc55316c7cb07d0a7594fd73a2185e3381b9ece [file] [log] [blame]
// { dg-additional-options "-fmodules -std=c++20" }
struct exception_ptr {
friend bool operator==(const exception_ptr&, const exception_ptr&) = default;
};
void enqueue() {
exception_ptr e;
e == e;
}
import "noexcept-4_a.H";
int main() {
constexpr exception_ptr e;
static_assert(e == e);
static_assert(noexcept(e == e));
}