summaryrefslogtreecommitdiff
path: root/test/pending/pos/t3943/test_2.scala
blob: a19db8b22604a718095f50fdb5c0cc130e5118c9 (plain) (blame)
1
2
3
4
5
6
7
8
object Test extends App {
  val x: Child = new Child
  x.getInner.foo("meh")
//                        ^
// error: type mismatch;
//  found   : java.lang.String("meh")
//  required: E
}