summaryrefslogtreecommitdiff
path: root/test/files/run/repl-paste-6.check
blob: efcea9274fa11029e3cd09f13341f3dd1afe53a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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