Skip to content

Commit e10107e

Browse files
committed
1 parent 9195e91 commit e10107e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/run/deadlock.scala

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// from https://github.com/rickynils/scalacheck/issues/290
2+
import scala.concurrent._
3+
import scala.concurrent.duration._
4+
import java.util.concurrent.Executors
5+
6+
object Test {
7+
import ExecutionContext.Implicits.global
8+
val x = Await.result(Future(1), 1000.seconds)
9+
def main(args: Array[String]) = println(x)
10+
}
11+

0 commit comments

Comments
 (0)