summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-06-09 11:14:28 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-06-09 11:14:28 +0200
commitd2a58a381905d03552378402f54cbcbeafc04f1e (patch)
treee22177a5c0ee123b46a00dd14d1ef1eb31d841a6 /test
parent51ef16f2e963c27b988e2f1627dc4f6160641b9f (diff)
downloadscala-d2a58a381905d03552378402f54cbcbeafc04f1e.tar.gz
scala-d2a58a381905d03552378402f54cbcbeafc04f1e.tar.bz2
scala-d2a58a381905d03552378402f54cbcbeafc04f1e.zip
test case, closes SI-5881
Diffstat (limited to 'test')
-rw-r--r--test/files/run/t5881.check2
-rw-r--r--test/files/run/t5881.scala6
2 files changed, 8 insertions, 0 deletions
diff --git a/test/files/run/t5881.check b/test/files/run/t5881.check
new file mode 100644
index 0000000000..477fb935a8
--- /dev/null
+++ b/test/files/run/t5881.check
@@ -0,0 +1,2 @@
+ClassTag[class scala.collection.immutable.List]
+ClassTag[class scala.collection.immutable.List]
diff --git a/test/files/run/t5881.scala b/test/files/run/t5881.scala
new file mode 100644
index 0000000000..01bee29181
--- /dev/null
+++ b/test/files/run/t5881.scala
@@ -0,0 +1,6 @@
+import scala.reflect.ClassTag
+
+object Test extends App {
+ println(implicitly[ClassTag[List[T forSome {type T <: List[T]}]]])
+ println(implicitly[ClassTag[List[Any]]])
+} \ No newline at end of file