summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/global/qglobal/tst_qglobal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/corelib/global/qglobal/tst_qglobal.cpp')
-rw-r--r--tests/auto/corelib/global/qglobal/tst_qglobal.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/auto/corelib/global/qglobal/tst_qglobal.cpp b/tests/auto/corelib/global/qglobal/tst_qglobal.cpp
index 524212e933..1a19048bbe 100644
--- a/tests/auto/corelib/global/qglobal/tst_qglobal.cpp
+++ b/tests/auto/corelib/global/qglobal/tst_qglobal.cpp
@@ -930,20 +930,6 @@ struct Trivial1
static_assert(!QTypeInfo<Trivial1>::isComplex);
static_assert(QTypeInfo<Trivial1>::isRelocatable);
-#if defined(__has_builtin)
-#if __has_builtin(__is_trivially_relocatable) && __has_attribute(trivial_abi)
-struct [[clang::trivial_abi]] TrivialAbi1
-{
- ~TrivialAbi1();
- TrivialAbi1(TrivialAbi1 &&);
-};
-static_assert(__has_builtin(__is_trivially_relocatable));
-static_assert(__is_trivially_relocatable(TrivialAbi1));
-static_assert(QTypeInfo<TrivialAbi1>::isComplex);
-static_assert(QTypeInfo<TrivialAbi1>::isRelocatable);
-#endif
-#endif
-
QT_END_NAMESPACE
QTEST_APPLESS_MAIN(tst_QGlobal)