summaryrefslogtreecommitdiff
path: root/test/files/run/t4172.check
blob: 99e420678c45e64411959fcdd00a56f175eb0697 (plain) (blame)
1
2
3
4
5
6
scala> val c = { class C { override def toString = "C" }; ((new C, new C { def f = 2 })) }
warning: there was one feature warning; for details, enable `:setting -feature' or `:replay -feature'
c: (C, C{def f: Int}) forSome { type C <: AnyRef } = (C,C)

scala> :quit