summaryrefslogtreecommitdiff
path: root/testsuite/tests/gadt/gadt1.hs
blob: 3412d90cf2a87a90ad8d7c2bc185bf91b3c2ebec (plain)
1
2
3
4
5
6
7
{-# LANGUAGE GADTs, Rank2Types #-}

module ShouldCompile where

-- Checks for bindInstsOfPatId
f :: (forall a. Eq a => a -> a) -> Bool
f g = g True