summaryrefslogtreecommitdiff
path: root/test/files/run/t2106.check
blob: b19165824b89c66b169cd43359d8cc80818e3f80 (plain) (blame)
1
2
3
4
5
t2106.scala:7: warning: A::foo()Ljava/lang/Object; is annotated @inline but could not be inlined:
The callee A::foo()Ljava/lang/Object; contains the instruction INVOKEVIRTUAL java/lang/Object.clone ()Ljava/lang/Object;
that would cause an IllegalAccessError when inlined into class Test$.
  def main(args: Array[String]): Unit = x.foo
                                          ^