summaryrefslogblamecommitdiff
path: root/test/files/run/t2106.scala
blob: 55b89da80568ae59b4eefe469be344209899a831 (plain) (tree)
1
2
3
4
5
6
7
8





                                 
                                             
 
class A extends Cloneable {
  @inline final def foo = clone()
}

object Test {
  val x = new A
  def main(args: Array[String]): Unit = x.foo
}