From c9365b9f14a7a91c9223e0b456b5ecbd46bf1e5a Mon Sep 17 00:00:00 2001 From: Philipp Haller Date: Fri, 30 Jan 2009 15:46:49 +0000 Subject: Moved react/receiveWithinZero tests to pending ... Moved react/receiveWithinZero tests to pending for now. --- test/pending/jvm/reactWithinZero.scala | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test/pending/jvm/reactWithinZero.scala (limited to 'test/pending/jvm/reactWithinZero.scala') diff --git a/test/pending/jvm/reactWithinZero.scala b/test/pending/jvm/reactWithinZero.scala new file mode 100644 index 0000000000..0786ce271d --- /dev/null +++ b/test/pending/jvm/reactWithinZero.scala @@ -0,0 +1,18 @@ +import scala.actors.{Actor, TIMEOUT} + +class A extends Actor { + def act() = reactWithin(0) { + case TIMEOUT => + println("TIMEOUT") + reply('ack) + act() + case x => println(x) + } +} + +object Test { + def main(args: Array[String]): Unit = { + val a = new A + a.start() + } +} -- cgit v1.2.3