aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qml/librarymetrics_performance/data/item.22.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarks/qml/librarymetrics_performance/data/item.22.qml')
-rw-r--r--tests/benchmarks/qml/librarymetrics_performance/data/item.22.qml11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/benchmarks/qml/librarymetrics_performance/data/item.22.qml b/tests/benchmarks/qml/librarymetrics_performance/data/item.22.qml
new file mode 100644
index 0000000000..7cd408f660
--- /dev/null
+++ b/tests/benchmarks/qml/librarymetrics_performance/data/item.22.qml
@@ -0,0 +1,11 @@
+import QtQuick 2.0
+
+Item {
+ property int b: 100
+ property int c: 15
+ property int a: 15
+ onAChanged: {
+ if (b >= 100) b = 12;
+ else c += a;
+ }
+}