summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/typecheck/should_compile/tc066.hs
blob: 7c929516bc0011aeee15892211652035969c285e (plain)
1
2
3
4
module ShouldSucceed where

data Pair a b = MkPair a b
f x = [ a | (MkPair c a) <- x ]