diff options
Diffstat (limited to 'testsuite/tests/ghc-api/exactprint/AddLocalDecl1.hs')
-rw-r--r-- | testsuite/tests/ghc-api/exactprint/AddLocalDecl1.hs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tests/ghc-api/exactprint/AddLocalDecl1.hs b/testsuite/tests/ghc-api/exactprint/AddLocalDecl1.hs new file mode 100644 index 0000000000..3bb4953c51 --- /dev/null +++ b/testsuite/tests/ghc-api/exactprint/AddLocalDecl1.hs @@ -0,0 +1,13 @@ +module AddLocalDecl1 where + +-- |This is a function +foo = x -- comment1 +-- trailing 1 + +-- |Another fun +x = a -- comment2 + where + a = 3 +-- trailing 2 + +y = 3 |