summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T17820b.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/th/T17820b.hs')
-rw-r--r--testsuite/tests/th/T17820b.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/th/T17820b.hs b/testsuite/tests/th/T17820b.hs
new file mode 100644
index 0000000000..f42b7cce1a
--- /dev/null
+++ b/testsuite/tests/th/T17820b.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Main where
+
+data D = C { f :: () }
+
+$( const mempty f )