diff options
Diffstat (limited to 'test/files/neg/bug169.scala')
-rw-r--r-- | test/files/neg/bug169.scala | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/files/neg/bug169.scala b/test/files/neg/bug169.scala new file mode 100644 index 0000000000..28f1853a68 --- /dev/null +++ b/test/files/neg/bug169.scala @@ -0,0 +1,14 @@ +import scala.concurrent.Process._; + +class D() { + def start_listener(Child:Process) = { + var running = true; + while (running) { + receiveWithin(0) { + case TIMEOUT() => { + Child ! 'foo; + } + } + } + } +} |