aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quicktest/testswithcomponents/data/Sample.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quicktest/testswithcomponents/data/Sample.qml')
-rw-r--r--tests/auto/quicktest/testswithcomponents/data/Sample.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/quicktest/testswithcomponents/data/Sample.qml b/tests/auto/quicktest/testswithcomponents/data/Sample.qml
new file mode 100644
index 0000000000..78e3008b01
--- /dev/null
+++ b/tests/auto/quicktest/testswithcomponents/data/Sample.qml
@@ -0,0 +1,8 @@
+import QtQuick 2.15
+
+Item {
+ id: root
+
+ component InlineComponent: Rectangle {}
+ InlineComponent{}
+}