diff options
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/origins.check | 6 | ||||
-rw-r--r-- | test/files/run/origins.flags | 1 | ||||
-rw-r--r-- | test/files/run/origins.scala | 21 |
3 files changed, 0 insertions, 28 deletions
diff --git a/test/files/run/origins.check b/test/files/run/origins.check deleted file mode 100644 index b12cb6e38f..0000000000 --- a/test/files/run/origins.check +++ /dev/null @@ -1,6 +0,0 @@ - ->> Origins tag 'boop' logged 65 calls from 3 distinguished sources. - - 50 Test$$anonfun$f3$1.apply(origins.scala:16) - 10 Test$$anonfun$f2$1.apply(origins.scala:15) - 5 Test$$anonfun$f1$1.apply(origins.scala:14) diff --git a/test/files/run/origins.flags b/test/files/run/origins.flags deleted file mode 100644 index 690753d807..0000000000 --- a/test/files/run/origins.flags +++ /dev/null @@ -1 +0,0 @@ --no-specialization -Ydelambdafy:inline
\ No newline at end of file diff --git a/test/files/run/origins.scala b/test/files/run/origins.scala deleted file mode 100644 index 6529351d3c..0000000000 --- a/test/files/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() - } -} |