summaryrefslogtreecommitdiff
path: root/test/files/run/macro-reify-splice-splice/Macros_1.scala
blob: 030a0a217e78b21f652029f3f63f3418cf7e0bb7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import scala.reflect.makro.{Context => Ctx}
import scala.reflect.{mirror => mr}

object Macros {
  def foo = macro Impls.foo

  object Impls {
    def foo(c: Ctx) = c.reify {
      { c.reify(c.reify("hello world")) }.splice.splice
    }
  }
}