aboutsummaryrefslogblamecommitdiff
path: root/tests/run/t6090.scala
blob: e7dbb36a05ae417940eac27cc477c912cd205a7a (plain) (tree)
1
2
3
4
5
6





                                          
class X { def ==(other: X) = true }
class V(val x: X) extends AnyVal
object Test extends {
  def main(args: Array[String]) =
    assert((new V(new X) == new V(new X)))
}