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