Given the following code ```cpp struct non_trivial { ~non_trivial(); }; union non_trivial_union { int i; non_trivial n; }; static_assert(!__is_literal_type(non_trivial), ""); static_assert(!__is_literal_type(non_trivial_union), ""); ``` clang-18.1.0 compiles fine while clang-19 fails the second `static_assert`. [godbolt](https://godbolt.org/z/hPj9cGqhb) Note that this does not happen in C++-20 mode [godbolt](https://godbolt.org/z/v94aM5fTj)