summaryrefslogtreecommitdiff
path: root/test/files/pos/t3688.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-08-24 16:49:38 +0000
committerPaul Phillips <paulp@improving.org>2011-08-24 16:49:38 +0000
commit48e8133cb08a252ea0ec325d4c6537bccb2e0465 (patch)
tree2819b5a1eb22ba8fa19b15d39bdd94ea4b7cec8b /test/files/pos/t3688.scala
parent0e74720c491ce13e5e904e0bc39e9a60af26f37c (diff)
downloadscala-48e8133cb08a252ea0ec325d4c6537bccb2e0465.tar.gz
scala-48e8133cb08a252ea0ec325d4c6537bccb2e0465.tar.bz2
scala-48e8133cb08a252ea0ec325d4c6537bccb2e0465.zip
Removed and consolidated several redundant test...
Removed and consolidated several redundant tests which had filenames "bugXXX" and "tXXX" where XXX == XXX. No review.
Diffstat (limited to 'test/files/pos/t3688.scala')
-rw-r--r--test/files/pos/t3688.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/pos/t3688.scala b/test/files/pos/t3688.scala
index 0ac1cfe514..d15e9d1a84 100644
--- a/test/files/pos/t3688.scala
+++ b/test/files/pos/t3688.scala
@@ -7,3 +7,8 @@ object Test {
implicitly[mutable.Map[Int, String] => ju.Dictionary[Int, String]]
}
+
+object Test2 {
+ def m[P <% ju.List[Int]](l: P) = 1
+ m(List(1)) // bug: should compile
+} \ No newline at end of file