summaryrefslogtreecommitdiff
path: root/test/pending/pos/treecheckers/c6.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pending/pos/treecheckers/c6.scala')
-rw-r--r--test/pending/pos/treecheckers/c6.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/pending/pos/treecheckers/c6.scala b/test/pending/pos/treecheckers/c6.scala
new file mode 100644
index 0000000000..8283655f3a
--- /dev/null
+++ b/test/pending/pos/treecheckers/c6.scala
@@ -0,0 +1,4 @@
+object Test6 {
+ import scala.reflect.ClassTag
+ def f[T: ClassTag] = implicitly[ClassTag[T]].runtimeClass match { case x => x }
+}