marking/re2c_test.scala
changeset 94 ae4708c851ee
child 95 4fa7231fede7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/marking/re2c_test.scala	Wed Dec 21 03:06:18 2016 +0000
@@ -0,0 +1,13 @@
+import scala.concurrent._
+import scala.concurrent.duration._
+import ExecutionContext.Implicits.global
+import scala.language.postfixOps 
+
+
+
+lazy val f = Future {
+  assert(fixpT((x:Int) => if (200000 < x) x else x + 1, 0) == 200001)
+  assert(fixpT((x:Long) => if (20 < x) x else x + 1, 0L) == 21L)
+}
+
+Await.result(f, 120 second)