aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativev4/data/logicalOr.2.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qdeclarativev4/data/logicalOr.2.qml')
-rw-r--r--tests/auto/declarative/qdeclarativev4/data/logicalOr.2.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativev4/data/logicalOr.2.qml b/tests/auto/declarative/qdeclarativev4/data/logicalOr.2.qml
new file mode 100644
index 0000000000..54fb78b127
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativev4/data/logicalOr.2.qml
@@ -0,0 +1,6 @@
+import Qt.v4 1.0
+
+Result {
+ property string s: "foo" || "bar"
+ result: s == "foo"
+}