aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t8437/Macros_1.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/run/t8437/Macros_1.scala')
-rw-r--r--tests/pending/run/t8437/Macros_1.scala18
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/pending/run/t8437/Macros_1.scala b/tests/pending/run/t8437/Macros_1.scala
deleted file mode 100644
index 6286ea2a8..000000000
--- a/tests/pending/run/t8437/Macros_1.scala
+++ /dev/null
@@ -1,18 +0,0 @@
-import scala.language.experimental.macros
-import scala.reflect.macros._
-
-abstract class AbstractBundle(val c: blackbox.Context) {
- import c.Expr
- import c.universe._
- def foo: Expr[Int] = Expr[Int](q"5")
-}
-
-class ConcreteBundle(override val c: blackbox.Context) extends AbstractBundle(c) {
- import c.Expr
- val bar: Expr[Int] = foo
-}
-
-object InvokeBundle {
- def foo: Int = macro ConcreteBundle.foo // nope
- def bar: Int = macro ConcreteBundle.bar // yep
-} \ No newline at end of file