aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/wellkinded_bounds.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/wellkinded_bounds.check')
-rw-r--r--tests/untried/neg/wellkinded_bounds.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/untried/neg/wellkinded_bounds.check b/tests/untried/neg/wellkinded_bounds.check
new file mode 100644
index 000000000..806eb09a7
--- /dev/null
+++ b/tests/untried/neg/wellkinded_bounds.check
@@ -0,0 +1,4 @@
+wellkinded_bounds.scala:2: error: type List takes type parameters
+class WellKindedWrongSyntax[s <: List] { // must be s[x] <: List[x]
+ ^
+one error found