aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/SegFault.qml
diff options
context:
space:
mode:
authorMaximilian Goldstein <max.goldstein@qt.io>2021-02-03 12:06:33 +0100
committerMaximilian Goldstein <max.goldstein@qt.io>2021-02-03 16:32:49 +0100
commit5fb34b67b810ca284c216009925f4f38220c4510 (patch)
treeb8d36c4a93f10d42eb0e1f4e755d4d44d14f7772 /tests/auto/qml/qmllint/data/SegFault.qml
parent79014a1b39a4dca09a9d67de68161b10da4bcdef (diff)
qmllint: Fix segmentation fault
Pick-to: 6.0 Change-Id: Ie04ad4221b25628687c2575facf90488b83d21bf Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qmllint/data/SegFault.qml')
-rw-r--r--tests/auto/qml/qmllint/data/SegFault.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/SegFault.qml b/tests/auto/qml/qmllint/data/SegFault.qml
new file mode 100644
index 0000000000..c66ad472f1
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/SegFault.qml
@@ -0,0 +1,6 @@
+import QtQuick as T
+T.Item {
+ T.Rectangle {
+ property int length: parent.T.Screen.pixelDensity
+ }
+}