summaryrefslogtreecommitdiff
path: root/test/files/neg/classtags_contextbound_b.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/classtags_contextbound_b.check')
-rw-r--r--test/files/neg/classtags_contextbound_b.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/classtags_contextbound_b.check b/test/files/neg/classtags_contextbound_b.check
new file mode 100644
index 0000000000..f1f48bed72
--- /dev/null
+++ b/test/files/neg/classtags_contextbound_b.check
@@ -0,0 +1,4 @@
+classtags_contextbound_b.scala:3: error: No ClassTag available for T
+ def foo[T] = mkArray[T]
+ ^
+one error found