summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/T9569b.hs
blob: 67ddf21d73255d12624554fd08b279c01996cb45 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE RankNTypes #-}
module T9569a where

g :: (Int -> Int) -> Int
g f = f 4

f2 :: (forall a. a -> a) -> Int
f2 f = g f