summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail007.hs
blob: ee24983aff055d3cbf490134545d5893a42ea489 (plain)
1
2
3
4
module ShouldFail where

n x | True = x+1
    | False = True