summaryrefslogtreecommitdiff
path: root/test/files/run/repl-save.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/repl-save.check')
-rw-r--r--test/files/run/repl-save.check18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/files/run/repl-save.check b/test/files/run/repl-save.check
new file mode 100644
index 0000000000..7ed769278f
--- /dev/null
+++ b/test/files/run/repl-save.check
@@ -0,0 +1,18 @@
+Type in expressions to have them evaluated.
+Type :help for more information.
+
+scala> val i = 7
+i: Int = 7
+
+scala> val j = 8
+j: Int = 8
+
+scala> i * j
+res0: Int = 56
+
+scala> :save repl-save-run.obj/session.repl
+
+scala>
+val i = 7
+val j = 8
+i * j