blob: a0d4de1cfa708e4efc8a87224ef63724468f947a (
plain)
1
2
3
4
5
6
7
|
module Foo where
newtype Identity x = MkId x
newtype Fix f = MkFix (f (Fix f))
-- This test just checks that the compiler itself doesn't loop
data Loop = LCon {-# UNPACK #-} !(Fix Identity)
|