summaryrefslogtreecommitdiffstats
path: root/tests/auto/compiled/tst_compiled.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/compiled/tst_compiled.cpp')
-rw-r--r--tests/auto/compiled/tst_compiled.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/auto/compiled/tst_compiled.cpp b/tests/auto/compiled/tst_compiled.cpp
index 27e4a80..6ee181d 100644
--- a/tests/auto/compiled/tst_compiled.cpp
+++ b/tests/auto/compiled/tst_compiled.cpp
@@ -168,15 +168,12 @@ void tst_Compiled::connection()
QMetaObject::Connection conB = stateMachine.connectToState("b", &receiverB, SLOT(receive(bool)));
QMetaObject::Connection conFinal = stateMachine.connectToState("final", &receiverFinal, SLOT(receive(bool)));
-#if defined(__cpp_return_type_deduction) && __cpp_return_type_deduction == 201304
- // C++14 available: test for onEntry and onExit
typedef QScxmlStateMachine QXSM;
QMetaObject::Connection aEntry = stateMachine.connectToState("a", QXSM::onEntry(&receiverA, "enter"));
QMetaObject::Connection aExit = stateMachine.connectToState("a", QXSM::onExit(&receiverA, "exit"));
QVERIFY(aEntry);
QVERIFY(aExit);
-#endif
QVERIFY(conA);
QVERIFY(conA1);