aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/i1866.scala
blob: 918d2e1827e6306cbec1d02db3732ddbb3044b43 (plain) (tree)
1
2
3
4
5




                                                    
import scala.reflect.Selectable.reflectiveSelectable
object Test {
  def f(g: { val update: Unit }) = g.update
  def main(update: Array[String]) = {}
}