summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T3572.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/th/T3572.hs')
-rw-r--r--testsuite/tests/th/T3572.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/th/T3572.hs b/testsuite/tests/th/T3572.hs
new file mode 100644
index 0000000000..4717fd2735
--- /dev/null
+++ b/testsuite/tests/th/T3572.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE EmptyDataDecls #-}
+
+-- Trac #3572
+
+module Main where
+
+import Language.Haskell.TH
+import Language.Haskell.TH.Ppr
+
+main = putStrLn . pprint =<< runQ [d| data Void |]