summaryrefslogtreecommitdiff
path: root/test/pending/pos/t1336.scala
blob: 63967985c77cc2cc9613b3e0d4178a2fea36bb4a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
object Foo {
  def foreach( f : ((Int,Int)) => Unit ) {
    println("foreach")
    f(1,2)
  }

  for( (a,b) <- this ) {
    println((a,b))
  }
}