diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail063.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail063.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail063.hs b/testsuite/tests/typecheck/should_fail/tcfail063.hs new file mode 100644 index 0000000000..6e012dbb24 --- /dev/null +++ b/testsuite/tests/typecheck/should_fail/tcfail063.hs @@ -0,0 +1,7 @@ +-- !!! no type variable on a context +-- !!! reported by Sigbjorn Finne + +module ShouldFail where + +moby :: Num => Int -> a -> Int +moby x y = x+y |