summaryrefslogtreecommitdiff
path: root/tests/auto/qml/qmlcppcodegen/data/scopeVsObject.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/data/scopeVsObject.qml')
-rw-r--r--tests/auto/qml/qmlcppcodegen/data/scopeVsObject.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlcppcodegen/data/scopeVsObject.qml b/tests/auto/qml/qmlcppcodegen/data/scopeVsObject.qml
new file mode 100644
index 0000000000..631f8e2991
--- /dev/null
+++ b/tests/auto/qml/qmlcppcodegen/data/scopeVsObject.qml
@@ -0,0 +1,6 @@
+import QtQml
+
+QtObject {
+ objectName: "foo"
+ Component.onCompleted: objectName = objectName + "bar"
+}