summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T12966.hs
blob: 27bcff6708a7a1d3b92a9f7d927f07f9c2d66341 (plain)
1
2
3
4
{-# LANGUAGE RankNTypes #-}
module T12966 where
-- This should fail with a proper error message, not a compiler panic.
type Maybeify c = forall d. (c d) => ((~) (Maybe d))