aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t7296.scala
blob: fcba17c0845e3779c70a3acd82f07d63229ac1ef (plain) (blame)
1
2
3
4
5
6
7
// Fails Ycheck
object Test {
  type A = Int
  // Emits the implementation restriction but then proceeds to crash
  // when creating the Foo.unapply.
  case class Foo(a: A, b: A, c: A, d: A, e: A, f: A, g: A, h: A, i: A, j: A, k: A, l: A, m: A, n: A, o: A, p: A, q: A, r: A, s: A, t: A, u: A, v: A, w: A, x: A, y: A, Z: A)
}