aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmllocale/data/localeCompare.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmllocale/data/localeCompare.qml')
-rw-r--r--tests/auto/qml/qqmllocale/data/localeCompare.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmllocale/data/localeCompare.qml b/tests/auto/qml/qqmllocale/data/localeCompare.qml
new file mode 100644
index 0000000000..6851af6ef9
--- /dev/null
+++ b/tests/auto/qml/qqmllocale/data/localeCompare.qml
@@ -0,0 +1,7 @@
+import QtQuick 2.0
+
+QtObject {
+ property var string1: "a"
+ property var string2: "a"
+ property var comparison: string1.localeCompare(string2)
+}