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

module T17379b where

import Language.Haskell.TH

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