summaryrefslogtreecommitdiff
path: root/test/files/neg/wellkinded_wrongarity.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/wellkinded_wrongarity.scala')
-rw-r--r--test/files/neg/wellkinded_wrongarity.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/wellkinded_wrongarity.scala b/test/files/neg/wellkinded_wrongarity.scala
new file mode 100644
index 0000000000..39f8b7a2c3
--- /dev/null
+++ b/test/files/neg/wellkinded_wrongarity.scala
@@ -0,0 +1,5 @@
+// test well-kindedness checks -- arity error
+
+class Monad[m[x]]
+
+object mp extends Monad[Pair] \ No newline at end of file