aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/setRequiredPropertyThroughAliasOfAlias.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmllint/data/setRequiredPropertyThroughAliasOfAlias.qml')
-rw-r--r--tests/auto/qml/qmllint/data/setRequiredPropertyThroughAliasOfAlias.qml20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/setRequiredPropertyThroughAliasOfAlias.qml b/tests/auto/qml/qmllint/data/setRequiredPropertyThroughAliasOfAlias.qml
new file mode 100644
index 0000000000..75450d8d49
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/setRequiredPropertyThroughAliasOfAlias.qml
@@ -0,0 +1,20 @@
+import QtQml
+
+QtObject {
+ id: root
+
+ component C : QtObject {
+ id: c
+ required property int i
+ property alias ai: c.i
+ }
+
+ component C2 : C {
+ id: c2
+ property alias aai: c2.ai
+ }
+
+ property C2 c2: C2 {
+ aai: 1
+ }
+}