diff options
Diffstat (limited to 'tests/untried/neg/macro-bundle-abstract.scala')
-rw-r--r-- | tests/untried/neg/macro-bundle-abstract.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/untried/neg/macro-bundle-abstract.scala b/tests/untried/neg/macro-bundle-abstract.scala new file mode 100644 index 000000000..db57d5dc9 --- /dev/null +++ b/tests/untried/neg/macro-bundle-abstract.scala @@ -0,0 +1,11 @@ +import scala.language.experimental.macros +import scala.reflect.macros.blackbox.Context + +abstract class Bundle(c: Context) { + def deferred: Int + def impl = ??? +} + +object Macros { + def foo = macro Bundle.impl +} |