summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/TH_dataD1.hs
blob: 60d8e018adcbea0cfb6ec354648495685fe5a949 (plain)
1
2
3
4
5
6
7
8
9
10

module TH_dataD1 where

import Language.Haskell.TH

ds :: Q [Dec]
ds = [d|
          $(dataD [] (mkName "D") [] [normalC "K" []] [])
       |]