aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qml/librarymetrics_performance/data/expression.3.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarks/qml/librarymetrics_performance/data/expression.3.qml')
-rw-r--r--tests/benchmarks/qml/librarymetrics_performance/data/expression.3.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/benchmarks/qml/librarymetrics_performance/data/expression.3.qml b/tests/benchmarks/qml/librarymetrics_performance/data/expression.3.qml
new file mode 100644
index 0000000000..e6b5e934ea
--- /dev/null
+++ b/tests/benchmarks/qml/librarymetrics_performance/data/expression.3.qml
@@ -0,0 +1,14 @@
+import QtQuick 2.0
+
+Item {
+ property int a: 5
+ property int b: 0
+
+ function someFunc() {
+ b += a;
+ }
+
+ Component.onCompleted: {
+ onAChanged.connect(someFunc)
+ }
+}