summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail098.hs
blob: 2eab9e8f3b41b642b7581428c700d357fc89e027 (plain)
1
2
3
4
5
6
7
8
9

{-# LANGUAGE UndecidableInstances #-}

module ShouldFail where

-- !!! ambiguous constraint in the context of an instance declaration
class Bar a
instance Bar a => Bar Bool