aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t5894.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/run/t5894.scala')
-rw-r--r--tests/pending/run/t5894.scala18
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/pending/run/t5894.scala b/tests/pending/run/t5894.scala
deleted file mode 100644
index c67a46def..000000000
--- a/tests/pending/run/t5894.scala
+++ /dev/null
@@ -1,18 +0,0 @@
-import scala.reflect.macros.blackbox.Context
-import scala.language.experimental.macros
-
-class Test
-
-object Test {
- def foo: Unit = macro fooImpl
- def fooImpl(c: Context) = { import c.universe._; c.Expr[Unit](q"()") }
-
- def main(args: Array[String]): Unit = {
- try {
- val method = classOf[Test].getMethod("foo")
- sys.error("Static forwarder generated for macro: " + method)
- } catch {
- case _: NoSuchMethodException => // okay
- }
- }
-}