summaryrefslogtreecommitdiff
path: root/test/files/run/reify_newimpl_30.scala
blob: 573d05a6303b72bb40c49beec3faddb78a97a05b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import scala.reflect.runtime.universe._
import scala.tools.reflect.ToolBox
import scala.tools.reflect.Eval

object Test extends App {
  {
    class C {
      type T = Int
      val code = reify {
        List[C#T](2)
      }
      println(code.eval)
    }

    new C
  }
}