aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data/aliasLookup.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/data/aliasLookup.qml')
-rw-r--r--tests/auto/qml/qmlcppcodegen/data/aliasLookup.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlcppcodegen/data/aliasLookup.qml b/tests/auto/qml/qmlcppcodegen/data/aliasLookup.qml
new file mode 100644
index 0000000000..defea11fc1
--- /dev/null
+++ b/tests/auto/qml/qmlcppcodegen/data/aliasLookup.qml
@@ -0,0 +1,8 @@
+import QtQml
+
+QtObject {
+ id: self
+ property real foo: 12.3
+ property alias a: self.foo
+ property string t: Math.round(self.a)
+}