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

foo :: ((forall a. f a) -> f r) -> f r
foo g = undefined

x = \g -> foo g