aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/DeprecatedFunctions.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmllint/data/DeprecatedFunctions.qml')
-rw-r--r--tests/auto/qml/qmllint/data/DeprecatedFunctions.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/DeprecatedFunctions.qml b/tests/auto/qml/qmllint/data/DeprecatedFunctions.qml
new file mode 100644
index 0000000000..139e8a6230
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/DeprecatedFunctions.qml
@@ -0,0 +1,9 @@
+import QtQuick 2.0
+
+Item {
+ @Deprecated { reason: "This deprecation should be overridden!" }
+ function deprecatedOverride(a, b) {}
+
+ @Deprecated { reason: "This deprecation should be visible!" }
+ function deprecatedInherited(c, d) {}
+}