summaryrefslogtreecommitdiff
path: root/test/files/pos/array-interfaces.scala
blob: 4955911078fdd542953ecb4e6411596113b775d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
object s {
  def f(x: Cloneable) = ()
  def g(x: java.io.Serializable) = ()
  
  def main(args: Array[String]): Unit = {
    f(args)
    g(args)
  }
}