summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T7532.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/th/T7532.hs')
-rw-r--r--testsuite/tests/th/T7532.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/th/T7532.hs b/testsuite/tests/th/T7532.hs
new file mode 100644
index 0000000000..3a641ea97a
--- /dev/null
+++ b/testsuite/tests/th/T7532.hs
@@ -0,0 +1,11 @@
+{-# OPTIONS_GHC -ddump-rn -ddump-splices #-}
+{-# LANGUAGE TemplateHaskell, TypeFamilies #-}
+module T7532 where
+
+import Language.Haskell.TH
+import T7532a
+
+instance C Bool where
+ data D Bool = MkD
+
+$(bang)