summaryrefslogtreecommitdiff
path: root/test/files/run
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run')
-rw-r--r--test/files/run/boolord.check4
-rw-r--r--test/files/run/boolord.scala8
2 files changed, 12 insertions, 0 deletions
diff --git a/test/files/run/boolord.check b/test/files/run/boolord.check
new file mode 100644
index 0000000000..d1b11c0cde
--- /dev/null
+++ b/test/files/run/boolord.check
@@ -0,0 +1,4 @@
+false < false = false
+false < true = true
+true < false = false
+true < true = false
diff --git a/test/files/run/boolord.scala b/test/files/run/boolord.scala
new file mode 100644
index 0000000000..7a004d90f1
--- /dev/null
+++ b/test/files/run/boolord.scala
@@ -0,0 +1,8 @@
+object Test {
+ def main(args: Array[String]): unit = {
+ Console.println("false < false = " + (false < false))
+ Console.println("false < true = " + (false < true))
+ Console.println("true < false = " + (true < false))
+ Console.println("true < true = " + (true < true))
+ }
+}