summaryrefslogtreecommitdiff
path: root/test/files/neg/t550.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t550.check')
-rw-r--r--test/files/neg/t550.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/t550.check b/test/files/neg/t550.check
new file mode 100644
index 0000000000..da862e110e
--- /dev/null
+++ b/test/files/neg/t550.check
@@ -0,0 +1,7 @@
+t550.scala:6: error: type List takes type parameters
+ def sum[a](xs: List)(implicit m: Monoid[a]): a =
+ ^
+t550.scala:8: error: could not find implicit value for parameter m: Monoid[a]
+ sum(List(1,2,3))
+ ^
+two errors found