summaryrefslogblamecommitdiff
path: root/test/pending/run/reify_newimpl_08.scala
blob: 6caa33f30d2bfd6891f658b3db3ca4894030db74 (plain) (tree)
1
2
3
4
5
6
7
8

                                       




                         
                       


       
                        



                    
import scala.reflect.runtime.universe._
import scala.tools.reflect.Eval

object Test extends App {
  val code = reify {
    class C(val y: Int) {
      val code = reify {
        reify{y}.splice
      }
    }

    new C(2).code.splice
  }

  println(code.eval)
}