summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/files/neg/bug1133msg.check4
-rw-r--r--test/files/neg/bug1133msg.scala33
2 files changed, 0 insertions, 37 deletions
diff --git a/test/files/neg/bug1133msg.check b/test/files/neg/bug1133msg.check
deleted file mode 100644
index 5b499ef12f..0000000000
--- a/test/files/neg/bug1133msg.check
+++ /dev/null
@@ -1,4 +0,0 @@
-bug1133msg.scala:1: error: cannot emit bytecode for Match$.badMethod: offset too big to fit in 16 bits: 53273
-object Match {
- ^
-one error found
diff --git a/test/files/neg/bug1133msg.scala b/test/files/neg/bug1133msg.scala
deleted file mode 100644
index b4a29aff4d..0000000000
--- a/test/files/neg/bug1133msg.scala
+++ /dev/null
@@ -1,33 +0,0 @@
-object Match {
- def someMethod = 5
-
- def badMethod(s: String) = s match {
- case Extractor1(Extractor2(Extractor3("dog", "dog", "dog"), x2, x3), b, c, Extractor3("b", "b", f), e) => println(e)
- case Extractor3(Extractor2(Extractor1("a", "aa", "aaa", "aa", "a"), Extractor2("a", "aa", "aaa"), e), y, z) => println(e)
- case Extractor2(Extractor3("a", "a", x), Extractor3("b", "b", y), Extractor3("c", "c", z)) => println(z)
- case _ => println("fail")
- }
-
- def someOtherMethod = 10
-
- object Extractor1 {
- def unapply(x: Any) = x match {
- case x: String => Some(x, x+x, x+x+x, x+x, x)
- case _ => None
- }
- }
-
- object Extractor2 {
- def unapply(x: Any) = x match {
- case x: String => Some(x, x+x, x+x+x)
- case _ => None
- }
- }
-
- object Extractor3 {
- def unapply(x: Any) = x match {
- case x: String => Some(x, x, x)
- case _ => None
- }
- }
-}