summaryrefslogtreecommitdiff
path: root/test/files/jvm/t3365.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm/t3365.scala')
-rw-r--r--test/files/jvm/t3365.scala5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/files/jvm/t3365.scala b/test/files/jvm/t3365.scala
index b94e804e63..8321428093 100644
--- a/test/files/jvm/t3365.scala
+++ b/test/files/jvm/t3365.scala
@@ -1,3 +1,7 @@
+
+
+@deprecated("Suppress warnings", since="2.11")
+object Test {
import scala.actors.{ReplyReactor, Channel, Actor, Future}
case class ChannelMsg(chan: Channel[Any])
@@ -27,7 +31,6 @@ class MyActor extends Actor {
}
}
-object Test {
def main(args: Array[String]) {
val a = new MyActor
a.start()