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

                                       

                         
         


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

object Test extends App {
  reify {
    class C
    val product = List(new C, new C).length * List[C](new C, new C).length
    println(product)
  }.eval
}