diff options
Diffstat (limited to 'testsuite/tests/layout/layout007.hs')
-rw-r--r-- | testsuite/tests/layout/layout007.hs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/layout/layout007.hs b/testsuite/tests/layout/layout007.hs new file mode 100644 index 0000000000..f620bdb2e8 --- /dev/null +++ b/testsuite/tests/layout/layout007.hs @@ -0,0 +1,11 @@ + +{-# LANGUAGE TemplateHaskell #-} + +module M where + +-- The paren here closes the open-splice - it doesn't match an +-- opening paren + +f :: IO () +f = do print $( [| 'a' |] ) + |