aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/deprecatedPropertyReason.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmllint/data/deprecatedPropertyReason.qml')
-rw-r--r--tests/auto/qml/qmllint/data/deprecatedPropertyReason.qml12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/deprecatedPropertyReason.qml b/tests/auto/qml/qmllint/data/deprecatedPropertyReason.qml
new file mode 100644
index 0000000000..0e1edad6d0
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/deprecatedPropertyReason.qml
@@ -0,0 +1,12 @@
+import QtQml
+
+QtObject {
+ @Deprecated {
+ reason: "Test"
+ }
+ property int deprecated: 10
+
+ Component.onCompleted: {
+ console.log(deprecated);
+ }
+}