aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/i1704.scala
blob: 94bc03c4de6adf54e7c26911a5e1f3eebd15436e (plain) (blame)
1
2
3
4
trait AnyRef {
  val StringMatch = new AnyRef {}
  trait Something { (AnyRef) match { case (StringMatch) => } }
}