summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-bundle-nonmacro.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/macro-bundle-nonmacro.scala')
-rw-r--r--test/files/neg/macro-bundle-nonmacro.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/neg/macro-bundle-nonmacro.scala b/test/files/neg/macro-bundle-nonmacro.scala
new file mode 100644
index 0000000000..c7d99f4582
--- /dev/null
+++ b/test/files/neg/macro-bundle-nonmacro.scala
@@ -0,0 +1,9 @@
+import scala.language.experimental.macros
+
+trait Bundle {
+ def impl = ???
+}
+
+object Macros {
+ def foo = Bundle.impl
+} \ No newline at end of file