aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t5277_1.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/run/t5277_1.scala')
-rw-r--r--tests/pending/run/t5277_1.scala16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/pending/run/t5277_1.scala b/tests/pending/run/t5277_1.scala
deleted file mode 100644
index 580098666..000000000
--- a/tests/pending/run/t5277_1.scala
+++ /dev/null
@@ -1,16 +0,0 @@
-import scala.reflect.runtime.universe._
-import scala.tools.reflect.Eval
-
-import scala.language.{ implicitConversions, postfixOps }
-object Test extends dotty.runtime.LegacyApp {
- reify {
- def fact(n: Int): BigInt =
- if (n == 0) 1 else fact(n-1) * n
- class Factorizer(n: Int) {
- def ! = fact(n)
- }
- implicit def int2fact(n: Int) = new Factorizer(n)
-
- println("10! = " + (10!))
- }.eval
-}