diff --git a/tests/test.cpp b/tests/test.cpp index 97c808a86..a6128032e 100644 --- a/tests/test.cpp +++ b/tests/test.cpp @@ -640,7 +640,8 @@ void SizePrefixedTest() { void TriviallyCopyableTest() { // clang-format off - #if __GNUG__ && __GNUC__ < 5 + #if __GNUG__ && __GNUC__ < 5 && \ + !(defined(__clang__) && __clang_major__ >= 16) TEST_EQ(__has_trivial_copy(Vec3), true); #else #if __cplusplus >= 201103L