summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/typecheck/should_compile/tc100.hs
blob: 06f34750e1323670971a6c2510a81065d7edad77 (plain)
1
2
3
4
5
6
7
-- !!! Caused ghc-3.03 and 4.01 tc to enter a 
-- !!! a blackhole (as reported by P. Callaghan.)
module ShouldCompile where

type C a = D a -> a
newtype D a = DD (D_ a)
type D_ a = C (Maybe a)