aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data/math.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/data/math.qml')
-rw-r--r--tests/auto/qml/qmlcppcodegen/data/math.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlcppcodegen/data/math.qml b/tests/auto/qml/qmlcppcodegen/data/math.qml
new file mode 100644
index 0000000000..cc6cd3741a
--- /dev/null
+++ b/tests/auto/qml/qmlcppcodegen/data/math.qml
@@ -0,0 +1,6 @@
+import QML
+
+QtObject {
+ property int a: Math.max(5, 7, 9, -111)
+ property var b: 50 / 22
+}