summaryrefslogtreecommitdiff
path: root/test/files/instrumented/inline-in-constructors/test_3.scala
blob: c4d4cc5f3754e324657d7b196c2f48fe72b6fef7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import scala.tools.partest.instrumented.Instrumentation._
import instrumented._

object Test {
  def main(args: Array[String]) {
    // force predef initialization before profiling
    Predef
    MyPredef
    startProfiling()
    val a = new Foo(2)
    val b = new Bar(true)
    stopProfiling()
    printStatistics()
  }
}