aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/anchors2.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmllint/data/anchors2.qml')
-rw-r--r--tests/auto/qml/qmllint/data/anchors2.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/anchors2.qml b/tests/auto/qml/qmllint/data/anchors2.qml
new file mode 100644
index 0000000000..8918cf01d4
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/anchors2.qml
@@ -0,0 +1,6 @@
+import QtQuick 2.15
+
+Rectangle {
+ anchors.horizontalCenter: parent.horizontalCenter
+ anchors.verticalCenter: parent.verticalCenter
+}