aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/data')
-rw-r--r--tests/auto/qml/qmlcppcodegen/data/CMakeLists.txt1
-rw-r--r--tests/auto/qml/qmlcppcodegen/data/functionLookup.qml6
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlcppcodegen/data/CMakeLists.txt b/tests/auto/qml/qmlcppcodegen/data/CMakeLists.txt
index 1cfd0b493c..6728ee3797 100644
--- a/tests/auto/qml/qmlcppcodegen/data/CMakeLists.txt
+++ b/tests/auto/qml/qmlcppcodegen/data/CMakeLists.txt
@@ -61,6 +61,7 @@ set(qml_files
extendedTypes.qml
failures.qml
fileDialog.qml
+ functionLookup.qml
funcWithParams.qml
functionReturningVoid.qml
globals.qml
diff --git a/tests/auto/qml/qmlcppcodegen/data/functionLookup.qml b/tests/auto/qml/qmlcppcodegen/data/functionLookup.qml
new file mode 100644
index 0000000000..211f524088
--- /dev/null
+++ b/tests/auto/qml/qmlcppcodegen/data/functionLookup.qml
@@ -0,0 +1,6 @@
+import QtQml
+
+QtObject {
+ function foo() { return "a" + 99 }
+ property var bar: foo
+}