summaryrefslogtreecommitdiff
path: root/test/files/jvm/actor-exceptions.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm/actor-exceptions.scala')
-rw-r--r--test/files/jvm/actor-exceptions.scala4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/files/jvm/actor-exceptions.scala b/test/files/jvm/actor-exceptions.scala
index 3ee4db9ed2..bdd983a0e8 100644
--- a/test/files/jvm/actor-exceptions.scala
+++ b/test/files/jvm/actor-exceptions.scala
@@ -1,4 +1,7 @@
+
+@deprecated("Suppress warnings", since="2.11")
+object Test {
import scala.actors.{Actor, Exit}
import Actor._
@@ -58,7 +61,6 @@ object Slave extends Actor {
case object A
-object Test {
def main(args: Array[String]) {
Master.start()
}