summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T8028a.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/th/T8028a.hs')
-rw-r--r--testsuite/tests/th/T8028a.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/th/T8028a.hs b/testsuite/tests/th/T8028a.hs
new file mode 100644
index 0000000000..928a96e52c
--- /dev/null
+++ b/testsuite/tests/th/T8028a.hs
@@ -0,0 +1,6 @@
+module T8028a where
+
+import Language.Haskell.TH
+
+x = do n <- newName "F"
+ return [ClosedTypeFamilyD n [] Nothing []]