aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/wellkinded_wrongarity.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/wellkinded_wrongarity.scala')
-rw-r--r--tests/untried/neg/wellkinded_wrongarity.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/untried/neg/wellkinded_wrongarity.scala b/tests/untried/neg/wellkinded_wrongarity.scala
new file mode 100644
index 000000000..39c7601d5
--- /dev/null
+++ b/tests/untried/neg/wellkinded_wrongarity.scala
@@ -0,0 +1,5 @@
+// test well-kindedness checks -- arity error
+
+class Monad[m[x]]
+
+object mp extends Monad[Tuple2]