summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T9196.hs
blob: 11d713b5e9c2cd1bfcbb9ce37d0c197a1f430e17 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE RankNTypes #-}
module T9196 where

f :: (forall a. Eq a) => a -> a
f x = x

g :: (Eq a => Ord a) => a -> a
g x = x