summaryrefslogtreecommitdiff
path: root/test/files/pos/t0710.scala
blob: 4512a101d9c4dc3a61ea8284eae4e8037ba59705 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
object t0710 {
  def method {
    sealed case class Parent
    case object Child extends Parent
    val x: Parent = Child
    x match {
      case Child => ()
    }
  }
}