summaryrefslogtreecommitdiff
path: root/test/pending/neg/t8219-any-any-ref-equals.scala
blob: 26fd81f9b19afa8edebb3c22e3e37401e8f450ae (plain) (blame)
1
2
3
4
5
6
object Test {
  // The error message tells us that AnyRef#== and Any#== are overloaded.
  // A real class couldn't define such an overload, why do we allow AnyRef
  // to do so?
  "".==[Int]
}