aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/classtags_dont_use_typetags.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/classtags_dont_use_typetags.check')
-rw-r--r--tests/untried/neg/classtags_dont_use_typetags.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/untried/neg/classtags_dont_use_typetags.check b/tests/untried/neg/classtags_dont_use_typetags.check
new file mode 100644
index 000000000..4f728d267
--- /dev/null
+++ b/tests/untried/neg/classtags_dont_use_typetags.check
@@ -0,0 +1,4 @@
+classtags_dont_use_typetags.scala:4: error: No ClassTag available for T
+ def foo[T: TypeTag] = Array[T]()
+ ^
+one error found