summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T9693_modified.hs
blob: cab2c04d9fbccbc070efa5bf7d1f2d7f2395d63b (plain)
1
2
3
4
5
6
7
8
9
module T9693 where
import Language.Haskell.TH

stuff = do
  let x = mkName "X"
  -- x <- newName "X"
  sequence $ [dataD (return []) x [] Nothing [
      normalC x []
    ] []]