summaryrefslogblamecommitdiff
path: root/test/files/run/t5271_3.scala
blob: 5fd94f4a2ba1b9f362762e1ffe71f5e63b66a72b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                             

                         
                    
                            

                                    
                                   

    
                           
                    
 
import scala.reflect.mirror._

object Test extends App {
  val code = reify {
    object C { def qwe = 4 }
    case class C(foo: Int, bar: Int)
    val c = C(2, 2)
    println(c.foo * c.bar == C.qwe)
  };

  val toolbox = mkToolBox()
  println(code.tree)
}