diff options
Diffstat (limited to 'tests/auto/qml/qmllint/data/deprecatedPropertyReason.qml')
-rw-r--r-- | tests/auto/qml/qmllint/data/deprecatedPropertyReason.qml | 12 |
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); + } +} |