summaryrefslogtreecommitdiff
path: root/test/files/run/repl-paste.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/repl-paste.check')
-rw-r--r--test/files/run/repl-paste.check16
1 files changed, 15 insertions, 1 deletions
diff --git a/test/files/run/repl-paste.check b/test/files/run/repl-paste.check
index 4c9de85e67..50589433cd 100644
--- a/test/files/run/repl-paste.check
+++ b/test/files/run/repl-paste.check
@@ -1,7 +1,21 @@
Type in expressions to have them evaluated.
Type :help for more information.
-scala> // Entering paste mode (ctrl-D to finish)
+scala> :paste
+// Entering paste mode (ctrl-D to finish)
+
+
+ class Dingus
+ {
+ private val x = 5
+ def y = Dingus.x * 2
+ }
+ object Dingus
+ {
+ private val x = 55
+ }
+
+ val x = (new Dingus).y
// Exiting paste mode, now interpreting.