aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data/infinities.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/data/infinities.qml')
-rw-r--r--tests/auto/qml/qmlcppcodegen/data/infinities.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlcppcodegen/data/infinities.qml b/tests/auto/qml/qmlcppcodegen/data/infinities.qml
new file mode 100644
index 0000000000..5813d7a3ac
--- /dev/null
+++ b/tests/auto/qml/qmlcppcodegen/data/infinities.qml
@@ -0,0 +1,9 @@
+import QtQml
+
+QtObject {
+ property real positiveInfinity: Infinity
+ property real negativeInfinity: -Infinity
+ property real positiveZero: 0.0
+ property real negativeZero: -0.0
+ property real naN: NaN
+}