aboutsummaryrefslogblamecommitdiff
path: root/tests/patmat/t7206.scala.ignore
blob: 0133f1808e7ad31da02f027c0d9921f8428b88ff (plain) (tree)


















                               
object E extends Enumeration {
  val V = Value
}

sealed case class C(e: E.Value)

class Test {
  def foo(c: C) = {
    c match {
      case C(E.V) => {}
    }
  }

  def foo2(e: E.Value) = {
    e match {
      case E.V => {}
    }
  }
}