summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2007-03-26 10:32:23 +0000
committermihaylov <mihaylov@epfl.ch>2007-03-26 10:32:23 +0000
commit735025859b775ad66b300a437ca86ec75c197d03 (patch)
treea5f9ee6e714bf0abf78b69bef11213797d929eea /test
parentc5ebdc8ee58b610c041e20a4f3b7f18896c8d930 (diff)
downloadscala-735025859b775ad66b300a437ca86ec75c197d03.tar.gz
scala-735025859b775ad66b300a437ca86ec75c197d03.tar.bz2
scala-735025859b775ad66b300a437ca86ec75c197d03.zip
Added a test case from contribution #406
Diffstat (limited to 'test')
-rw-r--r--test/files/pos/contrib_406.check2
-rw-r--r--test/files/pos/contrib_406.scala5
2 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/contrib_406.check b/test/files/pos/contrib_406.check
new file mode 100644
index 0000000000..0747cddefb
--- /dev/null
+++ b/test/files/pos/contrib_406.check
@@ -0,0 +1,2 @@
+warning: there were unchecked warnings; re-run with -unchecked for details
+one warning found
diff --git a/test/files/pos/contrib_406.scala b/test/files/pos/contrib_406.scala
new file mode 100644
index 0000000000..d1e746dbeb
--- /dev/null
+++ b/test/files/pos/contrib_406.scala
@@ -0,0 +1,5 @@
+package bug.contrib_406
+
+object Test {
+ val (a: List[Int], b) = (List(1 ,2 ,3 ), 4)
+}