summaryrefslogtreecommitdiff
path: root/testsuite/tests/printer/Ppr043.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/printer/Ppr043.hs')
-rw-r--r--testsuite/tests/printer/Ppr043.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/printer/Ppr043.hs b/testsuite/tests/printer/Ppr043.hs
new file mode 100644
index 0000000000..3fe2519891
--- /dev/null
+++ b/testsuite/tests/printer/Ppr043.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE MagicHash, TemplateHaskell #-}
+module Main where
+
+import Language.Haskell.TH
+
+main :: IO ()
+main = do
+ putStrLn $([| 'a'# |] >>= stringE . show)
+ putStrLn $([| "abc"# |] >>= stringE . show)