Skip to content

Commit

Permalink
Add test from typelevel/scalacheck#290
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkDimius committed Apr 20, 2017
1 parent f75caad commit 22912f1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/run/deadlock.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// from https://github.com/rickynils/scalacheck/issues/290
import scala.concurrent._
import scala.concurrent.duration._
import java.util.concurrent.Executors

object Test {
import ExecutionContext.Implicits.global
val x = Await.result(Future(1), 1000.seconds)
def main(args: Array[String]) = println(x)
}

0 comments on commit 22912f1

Please sign in to comment.