summaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlstatemachine/data/signaltransitionhelper.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlstatemachine/data/signaltransitionhelper.qml')
-rw-r--r--tests/auto/qml/qqmlstatemachine/data/signaltransitionhelper.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlstatemachine/data/signaltransitionhelper.qml b/tests/auto/qml/qqmlstatemachine/data/signaltransitionhelper.qml
new file mode 100644
index 0000000..f915cdb
--- /dev/null
+++ b/tests/auto/qml/qqmlstatemachine/data/signaltransitionhelper.qml
@@ -0,0 +1,10 @@
+// Copyright (C) 2023 The Qt Company
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
+import QtQuick
+import QtQml.StateMachine
+
+SignalTransition {
+ // Do not crash on SignalTransition without signal
+ onTriggered: () => {}
+}