summaryrefslogtreecommitdiff
path: root/test/files/run/classtags_contextbound.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/classtags_contextbound.scala')
-rw-r--r--test/files/run/classtags_contextbound.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/run/classtags_contextbound.scala b/test/files/run/classtags_contextbound.scala
index 5bb0ae8d80..2f12792154 100644
--- a/test/files/run/classtags_contextbound.scala
+++ b/test/files/run/classtags_contextbound.scala
@@ -1,3 +1,5 @@
+import scala.reflect.{ClassTag, classTag}
+
object Test extends App {
def mkArray[T: ClassTag] = Array[T]()
def foo[T: ClassTag] = mkArray[T]