summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidsig-params-badargc/Impls_Macros_1.scala
blob: ae16612b93f1579859d4b3acd37442c9685ef6f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
import scala.reflect.macros.{Context => Ctx}

object Impls {
  def foo(c: Ctx)(x: c.Expr[Int], y: c.Expr[Int]) = ???
}

object Macros {
  def foo(x: Int) = macro Impls.foo
}