summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T17379a.hs
blob: 66702bb9b8662f527c6360638572e6af1f32e094 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE GADTSyntax #-}

module T17379a where

import Language.Haskell.TH

$(let typ = mkName "T" in pure [ DataD [] typ [] Nothing [GadtC [] [] (ConT typ)] [] ])