summaryrefslogtreecommitdiff
path: root/test/files/pos/t3020.scala
blob: cb429cd94f09c177a5e8b8d3051765010a42ec23 (plain) (blame)
1
2
3
4
5
6
7
8
9
object Test {
  def main(args: Array[String]): Unit = {
    var x = true
    
    ( { if (x) new scala.util.Random() } .asInstanceOf[Runnable] )
  }
}