summaryrefslogtreecommitdiff
path: root/test/files/jvm/actor-receivewithin.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm/actor-receivewithin.scala')
-rw-r--r--test/files/jvm/actor-receivewithin.scala5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/files/jvm/actor-receivewithin.scala b/test/files/jvm/actor-receivewithin.scala
index a5c87c2722..5982462502 100644
--- a/test/files/jvm/actor-receivewithin.scala
+++ b/test/files/jvm/actor-receivewithin.scala
@@ -1,3 +1,7 @@
+
+
+@deprecated("Suppress warnings", since="2.11")
+object Test {
import scala.actors.{Actor, TIMEOUT}
object A extends Actor {
@@ -62,7 +66,6 @@ object B extends Actor {
}
}
-object Test {
def main(args:Array[String]) {
B.start()
}