diff options
Diffstat (limited to 'tests/pending/run/origins.scala')
-rw-r--r-- | tests/pending/run/origins.scala | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/pending/run/origins.scala b/tests/pending/run/origins.scala deleted file mode 100644 index 6529351d3..000000000 --- a/tests/pending/run/origins.scala +++ /dev/null @@ -1,21 +0,0 @@ -import scala.reflect.internal.util.Origins - -package goxbox { - object Socks { - val origins = Origins("boop") - - def boop(x: Int): Int = origins { 5 } - } -} - -object Test { - import goxbox.Socks.boop - - def f1() = 1 to 5 map boop - def f2() = 1 to 10 map boop - def f3() = 1 to 50 map boop - - def main(args: Array[String]): Unit = { - f1() ; f2() ; f3() - } -} |