aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/macro-bundle-noncontext.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/macro-bundle-noncontext.scala')
-rw-r--r--tests/untried/neg/macro-bundle-noncontext.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/untried/neg/macro-bundle-noncontext.scala b/tests/untried/neg/macro-bundle-noncontext.scala
new file mode 100644
index 000000000..b3d7f4464
--- /dev/null
+++ b/tests/untried/neg/macro-bundle-noncontext.scala
@@ -0,0 +1,9 @@
+import scala.language.experimental.macros
+
+class Bundle {
+ def impl = ???
+}
+
+object Macros {
+ def foo = Bundle.impl
+}