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

import Language.Haskell.TH

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