summaryrefslogtreecommitdiff
path: root/test/files/neg/wellkinded_bounds.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/wellkinded_bounds.scala')
-rw-r--r--test/files/neg/wellkinded_bounds.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/neg/wellkinded_bounds.scala b/test/files/neg/wellkinded_bounds.scala
new file mode 100644
index 0000000000..7b80ce1cf7
--- /dev/null
+++ b/test/files/neg/wellkinded_bounds.scala
@@ -0,0 +1,3 @@
+// test well-kindedness checks -- syntax error
+class WellKindedWrongSyntax[s <: List] { // must be s[x] <: List[x]
+} \ No newline at end of file