summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T8028a.hs
blob: 5bdff99f4da79308358ddcbd4df76eeadba1feaa (plain)
1
2
3
4
5
6
module T8028a where

import Language.Haskell.TH

x = do n <- newName "F"
       return [ClosedTypeFamilyD (TypeFamilyHead n [] NoSig Nothing) []]