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

import scala.language.{ reflectiveCalls }

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

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