summaryrefslogblamecommitdiff
path: root/test/files/instrumented/InstrumentationTest.scala
blob: ec5314c6241831953947092955e508f8ab0e4a82 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                         
import scala.tools.partest.instrumented.Instrumentation._

/** Tests if instrumentation itself works correctly */
object Test {
  def main(args: Array[String]) {
    // force predef initialization before profiling
    Predef
    startProfiling()
    // should box the boolean
    println(true)
    stopProfiling()
    printStatistics()
  }
}