diff options
Diffstat (limited to 'testsuite/tests/printer/CommentsTest.hs')
-rw-r--r-- | testsuite/tests/printer/CommentsTest.hs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/tests/printer/CommentsTest.hs b/testsuite/tests/printer/CommentsTest.hs new file mode 100644 index 0000000000..c6cf79c5da --- /dev/null +++ b/testsuite/tests/printer/CommentsTest.hs @@ -0,0 +1,15 @@ +{-# LANGUAGE DeriveFoldable #-} +module CommentsTest (foo) where +{- +An opening comment + {- with a nested one -} + {-# nested PRAGMA #-} +-} + +import qualified Data.List as DL + +-- | The function @foo@ does blah +foo = let + a = 1 + b = 2 -- value 2 + in a + b |