summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T8392a.hs
blob: 6f47b4e3319a30bc7e74d356a3e5a70f92bfa16b (plain)
1
2
3
4
5
6
7
{-# LANGUAGE GADTs, AllowAmbiguousTypes #-}
module T8392a where

-- Should complain even with AllowAmbiguousTypes

foo :: (Int ~ Bool) => a -> a
foo x = x