summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail116.hs
blob: 1c32c956d39dee257798453b13db9ff669b79da4 (plain)
1
2
3
4
5
6
module ShouldFail where

-- in Haskell 98, methods must mention the class variable
-- (SourceForge bug #756454).
class Foo a where
    bug :: ()