summaryrefslogtreecommitdiff
path: root/test/files/run/t5583.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t5583.check')
-rw-r--r--test/files/run/t5583.check20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/files/run/t5583.check b/test/files/run/t5583.check
new file mode 100644
index 0000000000..39b969fbe7
--- /dev/null
+++ b/test/files/run/t5583.check
@@ -0,0 +1,20 @@
+Type in expressions to have them evaluated.
+Type :help for more information.
+
+scala>
+
+scala> var s = 0
+s: Int = 0
+
+scala> for (i <- 1 to 10) {s += i}
+
+scala> for (i <- 1 to 10) {s += i}
+
+scala> for (i <- 1 to 10) {s += i}
+
+scala> println(s)
+165
+
+scala>
+
+scala>