summaryrefslogtreecommitdiff
path: root/test/files/pos/bug3688.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/bug3688.scala')
-rw-r--r--test/files/pos/bug3688.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/bug3688.scala b/test/files/pos/bug3688.scala
new file mode 100644
index 0000000000..e481db3587
--- /dev/null
+++ b/test/files/pos/bug3688.scala
@@ -0,0 +1,7 @@
+import collection.JavaConversions._
+import java.{ util => ju }
+
+object Test {
+ def m[P <% ju.List[Int]](l: P) = 1
+ m(List(1)) // bug: should compile
+} \ No newline at end of file