summaryrefslogtreecommitdiff
path: root/testsuite/tests/generics/T8468.hs
blob: c4292cd9709b899583f8596e86ded70d836539a6 (plain)
1
2
3
4
5
6
7
{-# Language DeriveGeneric, MagicHash #-}

import GHC.Generics
import GHC.Exts

data Array a = Array (Array# a) deriving Generic1
newtype Vec a = MkVec {unVec :: Array a} deriving Generic1