diff options
Diffstat (limited to 'tests/auto/other/toolsupport')
-rw-r--r-- | tests/auto/other/toolsupport/tst_toolsupport.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/other/toolsupport/tst_toolsupport.cpp b/tests/auto/other/toolsupport/tst_toolsupport.cpp index 1b5aa1b247..d4ee3f4c50 100644 --- a/tests/auto/other/toolsupport/tst_toolsupport.cpp +++ b/tests/auto/other/toolsupport/tst_toolsupport.cpp @@ -110,6 +110,14 @@ void tst_toolsupport::offsets_data() data << 0 << 0; } +#ifdef Q_OS_LINUX + if (sizeof(void *) == 8) { + QTestData &data = QTest::newRow("QFilePrivate::fileName") + << pmm_to_offsetof(&QFilePrivate::fileName); + data << -1 << 272; + } +#endif + { #ifdef Q_OS_WIN QTest::newRow("QDateTimePrivate::m_msecs") |