diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail208.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail208.hs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail208.hs b/testsuite/tests/typecheck/should_fail/tcfail208.hs new file mode 100644 index 0000000000..71c0f3c19b --- /dev/null +++ b/testsuite/tests/typecheck/should_fail/tcfail208.hs @@ -0,0 +1,5 @@ +module Ctx where + +f :: (Monad m, Eq a) => a -> m a -> Bool +f x y = (return x == y) + |