summaryrefslogtreecommitdiff
path: root/test/files/run/t4542.check
blob: f7aad3deb2af16fa6a3d4cf6449410d61d62f8a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Type in expressions to have them evaluated.
Type :help for more information.

scala> @deprecated("foooo", "ReplTest version 1.0-FINAL") class Foo() {
  override def toString = "Bippy"
}
defined class Foo

scala> val f = new Foo
<console>:11: warning: class Foo is deprecated: foooo
       val f = new Foo
                   ^
f: Foo = Bippy

scala> :quit