diff options
Diffstat (limited to 'test/files/neg/macro-without-xmacros-a/Macros_2.scala')
-rw-r--r-- | test/files/neg/macro-without-xmacros-a/Macros_2.scala | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/neg/macro-without-xmacros-a/Macros_2.scala b/test/files/neg/macro-without-xmacros-a/Macros_2.scala new file mode 100644 index 0000000000..62f9dcf505 --- /dev/null +++ b/test/files/neg/macro-without-xmacros-a/Macros_2.scala @@ -0,0 +1,12 @@ +import Impls._ + +object Macros { + object Shmacros { + def foo(x: Int): Int = macro foo_impl + } + def bar(x: Int): Int = macro bar_impl +} + +class Macros { + def quux(x: Int): Int = macro quux_impl +}
\ No newline at end of file |