summaryrefslogtreecommitdiff
path: root/test/files/run/repl-paste-6.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/repl-paste-6.check')
-rwxr-xr-xtest/files/run/repl-paste-6.check17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/files/run/repl-paste-6.check b/test/files/run/repl-paste-6.check
new file mode 100755
index 0000000000..efcea9274f
--- /dev/null
+++ b/test/files/run/repl-paste-6.check
@@ -0,0 +1,17 @@
+
+scala> :paste < EOF
+// Entering paste mode (EOF to finish)
+
+case class C(i: Int)
+val c = C(42)
+EOF
+
+// Exiting paste mode, now interpreting.
+
+defined class C
+c: C = C(42)
+
+scala> val d: C = c // shew
+d: C = C(42)
+
+scala> :quit