diff options
Diffstat (limited to 'testsuite/tests/ghc-api/exactprint/AddLocalDecl6.hs')
-rw-r--r-- | testsuite/tests/ghc-api/exactprint/AddLocalDecl6.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/ghc-api/exactprint/AddLocalDecl6.hs b/testsuite/tests/ghc-api/exactprint/AddLocalDecl6.hs new file mode 100644 index 0000000000..d0bdffca41 --- /dev/null +++ b/testsuite/tests/ghc-api/exactprint/AddLocalDecl6.hs @@ -0,0 +1,10 @@ +module AddLocalDecl6 where + +foo [] = 1 -- comment 0 +foo xs = 2 -- comment 1 + +bar [] = 1 -- comment 2 + where + x = 3 +bar xs = 2 -- comment 3 + |