summaryrefslogtreecommitdiff
path: root/test/files/run/reify_lazyunit.scala
blob: 78b00cde2894cb55047c901a2f3edd331d836308 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import scala.reflect.runtime.universe._
import scala.tools.reflect.Eval

object Test extends App {
  reify {
    lazy val x = { 0; println("12")}
    x
    println("one")
    x
    println("two")
  }.eval
}