aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlcontext/data/qtbug_53431.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlcontext/data/qtbug_53431.qml')
-rw-r--r--tests/auto/qml/qqmlcontext/data/qtbug_53431.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlcontext/data/qtbug_53431.qml b/tests/auto/qml/qqmlcontext/data/qtbug_53431.qml
new file mode 100644
index 0000000000..2ceee2bade
--- /dev/null
+++ b/tests/auto/qml/qqmlcontext/data/qtbug_53431.qml
@@ -0,0 +1,7 @@
+import QtQml 2.0
+QtObject {
+ property int value: {
+ console.log("lookup in global object")
+ return 1
+ }
+}