aboutsummaryrefslogtreecommitdiff
path: root/tests/pending
diff options
context:
space:
mode:
authorOlivier Blanvillain <olivier.blanvillain@gmail.com>2017-04-06 18:44:21 +0200
committerOlivier Blanvillain <olivier.blanvillain@gmail.com>2017-04-06 18:54:08 +0200
commit5bf9d2b0046b60ae9fcdc218cd190e17023b4fae (patch)
tree842c4e3df808217ddebea02199a667c7de94e44b /tests/pending
parent944e677f437c39d85280c388cab000b5490e4386 (diff)
downloaddotty-5bf9d2b0046b60ae9fcdc218cd190e17023b4fae.tar.gz
dotty-5bf9d2b0046b60ae9fcdc218cd190e17023b4fae.tar.bz2
dotty-5bf9d2b0046b60ae9fcdc218cd190e17023b4fae.zip
Add tests
- t7296 & case-class-23 are moved out of pending - 1938 tests productElement > 23
Diffstat (limited to 'tests/pending')
-rw-r--r--tests/pending/pos/t7296.scala7
-rw-r--r--tests/pending/run/case-class-23.check2
-rw-r--r--tests/pending/run/case-class-23.scala33
3 files changed, 0 insertions, 42 deletions
diff --git a/tests/pending/pos/t7296.scala b/tests/pending/pos/t7296.scala
deleted file mode 100644
index fcba17c08..000000000
--- a/tests/pending/pos/t7296.scala
+++ /dev/null
@@ -1,7 +0,0 @@
-// 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)
-}
diff --git a/tests/pending/run/case-class-23.check b/tests/pending/run/case-class-23.check
deleted file mode 100644
index 888ed2c9e..000000000
--- a/tests/pending/run/case-class-23.check
+++ /dev/null
@@ -1,2 +0,0 @@
-23
-(1,23)
diff --git a/tests/pending/run/case-class-23.scala b/tests/pending/run/case-class-23.scala
deleted file mode 100644
index a6d78763c..000000000
--- a/tests/pending/run/case-class-23.scala
+++ /dev/null
@@ -1,33 +0,0 @@
-case class TwentyThree(
- _1: Int,
- _2: Int,
- _3: Int,
- _4: Int,
- _5: Int,
- _6: Int,
- _7: Int,
- _8: Int,
- _9: Int,
- _10: Int,
- _11: Int,
- _12: Int,
- _13: Int,
- _14: Int,
- _15: Int,
- _16: Int,
- _17: Int,
- _18: Int,
- _19: Int,
- _20: Int,
- _21: Int,
- _22: Int,
- _23: Int
-)
-
-object Test extends dotty.runtime.LegacyApp {
- val x = new TwentyThree(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23)
- println(x._23)
- assert(x.copy(_1 = 1) == x)
- val TwentyThree(a, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, b) = x
- println((a, b))
-}