summaryrefslogtreecommitdiff
path: root/test/files/pos/t8934a/Test_2.scala
blob: e1792ed3c5af391c21acd9c54f69ac81eb2242d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
object Test {
  "" match {
    case Unapply(a, b) =>
      a: Int
      b: String
    case UnapplySeq(a, b1, b2) =>
      a: Int
      b1: String
      b2: String
  }
}
// These used to fail `too many patterns` under -Ymacro-expand:discard