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

module ShouldCompile where

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