summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T21530b.hs
blob: 6502773f1bc327f57f2148038e47b78cf36400c3 (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE RankNTypes #-}

module T21530b where

f :: (forall a. (Show a, Eq a) => a -> String) -> String
f h = h True

g :: (forall a. Show a => a -> String) -> String
g = f