diff options
Diffstat (limited to 'testsuite/tests/simplCore/should_compile/T23307a.hs')
-rw-r--r-- | testsuite/tests/simplCore/should_compile/T23307a.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/simplCore/should_compile/T23307a.hs b/testsuite/tests/simplCore/should_compile/T23307a.hs new file mode 100644 index 0000000000..f02fee86b4 --- /dev/null +++ b/testsuite/tests/simplCore/should_compile/T23307a.hs @@ -0,0 +1,7 @@ +module T23307a where + +data List a = Nil | Cons {-# UNPACK #-} !(Unconsed a) + -- This UNPACK should work + +data Unconsed a = Unconsed a !(List a) +data MUnconsed a = No | Yes {-# UNPACK #-} !(Unconsed a)
\ No newline at end of file |