summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail029.hs
blob: 14dd2d7e6b05d7f57b122d2d409b27e6b3e1c92e (plain)
1
2
3
4
5
6
-- !!! tests for InstOpErr
module ShouldFail where

data Foo = Bar | Baz

f x = x > Bar