a429de48f0f5b0be6e0ad6b06e5b18b478964c0c
[ghc-hetmet.git] / ghc / tests / typecheck / should_compile / tc092.hs
1 module ShouldSucceed where
2
3 data Empty q                    =  Empty (Ord a => q a)
4 q                               :: (Ord a) => [a]
5 q                               =  []
6 e0, e1, e2                      :: Empty []
7 e0                              =  Empty []
8 e1                              =  Empty ([] :: (Ord a) => [a])
9 e2                              =  Empty q