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