summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail116.hs
blob: 656ffac4e2248bdf664fc33971c9eed1ca53822f (plain)
1
2
3
4
5
6
7
{-# LANGUAGE Haskell2010 #-}
module ShouldFail where

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