summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/th/T4436.hs
diff options
context:
space:
mode:
authorsimonpj <simonpj@microsoft.com>2010-10-26 10:33:00 +0000
committersimonpj <simonpj@microsoft.com>2010-10-26 10:33:00 +0000
commitac3877cce4efc42e2c87a1ee5f3d367874c64e63 (patch)
tree217ec2d100dfdd22ab3d3e9f9cbf3bda4b1d14f3 /testsuite/tests/ghc-regress/th/T4436.hs
parent2470c32bcdb4c75575bcc3eee32ecb3506edcedc (diff)
downloadhaskell-ac3877cce4efc42e2c87a1ee5f3d367874c64e63.tar.gz
Add tests for Trac #4436, #4439
Diffstat (limited to 'testsuite/tests/ghc-regress/th/T4436.hs')
-rw-r--r--testsuite/tests/ghc-regress/th/T4436.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/ghc-regress/th/T4436.hs b/testsuite/tests/ghc-regress/th/T4436.hs
new file mode 100644
index 0000000000..2d39120eba
--- /dev/null
+++ b/testsuite/tests/ghc-regress/th/T4436.hs
@@ -0,0 +1,9 @@
+{-# OPTIONS -XTemplateHaskell #-}
+module TH( x ) where
+import Language.Haskell.TH
+
+x = $(return (LitE (StringL "hello\ngoodbye\nand then")))
+
+
+
+