summaryrefslogblamecommitdiff
path: root/test/files/run/t3699.scala
blob: 0475353887ce0f4d479c0b13b201aa90b706810b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                   
object Test {
  def act: Int => Int = {
    case _ =>
      lazy val (a, b) = (3,9)
      a
      b
  }
  def main(args: Array[String]) = {
    assert(act(1) == 9)
  }
}