aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/v4/data/logicalAnd.6.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/v4/data/logicalAnd.6.qml')
-rw-r--r--tests/auto/qml/v4/data/logicalAnd.6.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/qml/v4/data/logicalAnd.6.qml b/tests/auto/qml/v4/data/logicalAnd.6.qml
new file mode 100644
index 0000000000..e98b5c99cd
--- /dev/null
+++ b/tests/auto/qml/v4/data/logicalAnd.6.qml
@@ -0,0 +1,9 @@
+import Qt.v4 1.0
+
+Result {
+ property string s: ""
+ property bool flag: true
+ property string subresult: s && flag
+
+ result: subresult === ""
+}