aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t1675.scala
blob: 8630890eed9134e9dd7c5ccca12f0c4e1e1a3e60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
package a
object Foo extends pack.Bar {
 for(i <- 0 to 10) {
   test("")
 }
}
package pack {
  class Bar {
    protected def test(s: String*): Unit = {}
  }
}