diff options
Diffstat (limited to 'tests/untried/pos/t7296.scala')
-rw-r--r-- | tests/untried/pos/t7296.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/untried/pos/t7296.scala b/tests/untried/pos/t7296.scala new file mode 100644 index 000000000..0c078d365 --- /dev/null +++ b/tests/untried/pos/t7296.scala @@ -0,0 +1,6 @@ +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) +} |