https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117515
--- Comment #3 from eczbek.void at gmail dot com --- (In reply to Jan Schultke from comment #1) > this is particularly weird because > > > bool b = requires { int([] {}); }; > > ... is accepted, so static_assert is in some way related. Testing that with my `A` struct again, `b` is false when it should be true: https://godbolt.org/z/nvxhjYP71