aboutsummaryrefslogblamecommitdiff
path: root/tests/untried/neg/macro-without-xmacros-a/Macros_2.scala
blob: e32a70ba8d0ac350028b0040dbe68757f5ab03eb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
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
}