diff options
Diffstat (limited to 'testsuite/tests/th/T17379a.hs')
-rw-r--r-- | testsuite/tests/th/T17379a.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/th/T17379a.hs b/testsuite/tests/th/T17379a.hs new file mode 100644 index 0000000000..66702bb9b8 --- /dev/null +++ b/testsuite/tests/th/T17379a.hs @@ -0,0 +1,8 @@ +{-# LANGUAGE TemplateHaskell #-} +{-# LANGUAGE GADTSyntax #-} + +module T17379a where + +import Language.Haskell.TH + +$(let typ = mkName "T" in pure [ DataD [] typ [] Nothing [GadtC [] [] (ConT typ)] [] ]) |