aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/inlineComponent.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmllint/data/inlineComponent.qml')
-rw-r--r--tests/auto/qml/qmllint/data/inlineComponent.qml15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/inlineComponent.qml b/tests/auto/qml/qmllint/data/inlineComponent.qml
new file mode 100644
index 0000000000..364d5319de
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/inlineComponent.qml
@@ -0,0 +1,15 @@
+import QtQuick 2.0
+
+Item {
+ component MyIC: IC {}
+ component IC : QtObject {}
+ QtObject {
+ component IC2: QtObject {}
+
+ property IC ic: IC {}
+ property IC2 ic2: IC2 {}
+ }
+
+ property IC ic : IC {}
+ property IC2 ic2: IC2 {}
+}