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