summaryrefslogblamecommitdiff
path: root/test/files/run/t4542.check
blob: 5a8108dcbc9dc7c89cdafbc07d126a4dab9815b6 (plain) (tree)
1
2
3


                                           














                                                                       
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>:8: warning: class Foo is deprecated: foooo
       val f = new Foo
           ^
<console>:8: warning: class Foo is deprecated: foooo
       val f = new Foo
                   ^
f: Foo = Bippy

scala>