summaryrefslogtreecommitdiff
path: root/test/disabled/jvm
diff options
context:
space:
mode:
Diffstat (limited to 'test/disabled/jvm')
-rw-r--r--test/disabled/jvm/t2359.check5
-rw-r--r--test/disabled/jvm/t2359.scala21
2 files changed, 26 insertions, 0 deletions
diff --git a/test/disabled/jvm/t2359.check b/test/disabled/jvm/t2359.check
new file mode 100644
index 0000000000..8a1218a102
--- /dev/null
+++ b/test/disabled/jvm/t2359.check
@@ -0,0 +1,5 @@
+1
+2
+3
+4
+5
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)
+ }()
+ }()
+ }()
+ }()
+ }()
+ }
+}