summaryrefslogtreecommitdiff
path: root/test/files/run/t4072.scala
blob: 371b8ccd5f5af832e0c21d4e0015e7257e21ce9d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import scala.tools.nsc._

object Test {
  class DryRun {
    val compiler = new Global(new Settings()) {
      lazy val test1 = new AnyRef
    }
  }

  def main(args: Array[String]) {
    new DryRun().compiler.test1
  }
}