https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120306

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So clang accepts it also when using libstdc++. when using libc++ clang rejects
it due to the type trait __is_nothrow_destructible  being used with an
incomplete type.

Simplified testcase:
```
#include <concepts>

struct S;
auto t = std::copy_constructible<S>;
```

Reply via email to