summaryrefslogtreecommitdiff
path: root/testsuite/tests/quotes/T18103.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/quotes/T18103.hs')
-rw-r--r--testsuite/tests/quotes/T18103.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/quotes/T18103.hs b/testsuite/tests/quotes/T18103.hs
new file mode 100644
index 0000000000..6965c2d2c3
--- /dev/null
+++ b/testsuite/tests/quotes/T18103.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE TemplateHaskellQuotes #-}
+module T18103 where
+
+import Language.Haskell.TH
+
+ex :: IO [Dec]
+ex = [d| foo x = x |]