aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/v4/data/qrealToIntRounding.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/v4/data/qrealToIntRounding.qml')
-rw-r--r--tests/auto/qml/v4/data/qrealToIntRounding.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qml/v4/data/qrealToIntRounding.qml b/tests/auto/qml/v4/data/qrealToIntRounding.qml
new file mode 100644
index 0000000000..ee3d405073
--- /dev/null
+++ b/tests/auto/qml/v4/data/qrealToIntRounding.qml
@@ -0,0 +1,10 @@
+import QtQuick 2.0
+
+QtObject {
+ property int data: 1
+
+ property int test1: 6.6 + data
+ property int test2: 6.2 + data
+ property int test3: 6 + data
+}
+