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






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

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