summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T2386_Lib.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/th/T2386_Lib.hs')
-rw-r--r--testsuite/tests/th/T2386_Lib.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/th/T2386_Lib.hs b/testsuite/tests/th/T2386_Lib.hs
new file mode 100644
index 0000000000..4322cc9584
--- /dev/null
+++ b/testsuite/tests/th/T2386_Lib.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module T2386_Lib(ExportedAbstract, makeOne) where
+
+data ExportedAbstract = Yay String | NonYay Bool
+
+makeOne = [| Yay "Yep" |]