aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qmlls/utils/data/findUsages/inlineComponents/InlineComponentProvider.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qmlls/utils/data/findUsages/inlineComponents/InlineComponentProvider.qml')
-rw-r--r--tests/auto/qmlls/utils/data/findUsages/inlineComponents/InlineComponentProvider.qml23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/auto/qmlls/utils/data/findUsages/inlineComponents/InlineComponentProvider.qml b/tests/auto/qmlls/utils/data/findUsages/inlineComponents/InlineComponentProvider.qml
new file mode 100644
index 0000000000..bfe8d99020
--- /dev/null
+++ b/tests/auto/qmlls/utils/data/findUsages/inlineComponents/InlineComponentProvider.qml
@@ -0,0 +1,23 @@
+import QtQuick
+
+Item {
+ component IC1: Item { property int inIc1: 123 }
+ component IC2: Item { property IC1 inIc2 }
+
+ IC1 {
+ id: firstUsage
+ property int inFirstUsage
+ }
+ IC2 {
+ id: secondUsage
+ property int inSecondUsage
+ }
+ Item {
+ Item {
+ IC1 {
+ id: thirdUsage
+ property int inThirdUsage
+ }
+ }
+ }
+}