summaryrefslogtreecommitdiffstats
path: root/tests/auto/qatomicint/tst_qatomicint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qatomicint/tst_qatomicint.cpp')
-rw-r--r--tests/auto/qatomicint/tst_qatomicint.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/qatomicint/tst_qatomicint.cpp b/tests/auto/qatomicint/tst_qatomicint.cpp
index 717187a2a6..5ccb997290 100644
--- a/tests/auto/qatomicint/tst_qatomicint.cpp
+++ b/tests/auto/qatomicint/tst_qatomicint.cpp
@@ -116,8 +116,7 @@ tst_QAtomicInt::~tst_QAtomicInt()
void tst_QAtomicInt::warningFreeHelper()
{
- Q_ASSERT(false);
- // The code below is bogus, and shouldn't be run. We're looking for warnings, only.
+ qFatal("This code is bogus, and shouldn't be run. We're looking for compiler warnings only.");
QBasicAtomicInt i = Q_BASIC_ATOMIC_INITIALIZER(0);