summaryrefslogtreecommitdiff
path: root/test/files/run/t2106.check
blob: c8ebe575f01b5f132d171595940e4e4721dfdd9b (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 A.clone ()Ljava/lang/Object;
that would cause an IllegalAccessError when inlined into class Test$.
  def main(args: Array[String]): Unit = x.foo
                                          ^