summaryrefslogtreecommitdiff
path: root/test/disabled/jvm/t2359.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/disabled/jvm/t2359.scala')
-rw-r--r--test/disabled/jvm/t2359.scala21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/disabled/jvm/t2359.scala b/test/disabled/jvm/t2359.scala
new file mode 100644
index 0000000000..1b4d5e0a27
--- /dev/null
+++ b/test/disabled/jvm/t2359.scala
@@ -0,0 +1,21 @@
+import scala.actors.Futures._
+
+object Test {
+ def main(args: Array[String]) {
+ val x = future {
+ System.out.println(1)
+ future {
+ System.out.println(2)
+ future {
+ System.out.println(3)
+ future {
+ System.out.println(4)
+ future {
+ System.out.println(5)
+ }()
+ }()
+ }()
+ }()
+ }()
+ }
+}