diff options
Diffstat (limited to 'testsuite/tests/parser/should_compile/DumpParsedAstComments.hs')
-rw-r--r-- | testsuite/tests/parser/should_compile/DumpParsedAstComments.hs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_compile/DumpParsedAstComments.hs b/testsuite/tests/parser/should_compile/DumpParsedAstComments.hs new file mode 100644 index 0000000000..d7c51b23b1 --- /dev/null +++ b/testsuite/tests/parser/should_compile/DumpParsedAstComments.hs @@ -0,0 +1,12 @@ +{-# LANGUAGE Haskell2010 #-} +{- + Block comment at the beginning + -} +module DumpParsedAstComments where + +foo = do + -- normal comment + 1 + +-- | Haddock comment +main = putStrLn "hello" |