summaryrefslogblamecommitdiff
path: root/test/files/run/t3726.scala
blob: 5ceed5416e4acd27f1d3ca9b1ea70b739c706b65 (plain) (tree)
1
2
3
4
5
6
7
8







                                                 
object Test extends Application {
  def test(f: () => Int) = {
    val x = f()
    5
  }

  println(test(() => { println("hi there"); 0 }))
}