summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api/exactprint/LayoutLet2.expected.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghc-api/exactprint/LayoutLet2.expected.hs')
-rw-r--r--testsuite/tests/ghc-api/exactprint/LayoutLet2.expected.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/ghc-api/exactprint/LayoutLet2.expected.hs b/testsuite/tests/ghc-api/exactprint/LayoutLet2.expected.hs
new file mode 100644
index 0000000000..8da499ce3a
--- /dev/null
+++ b/testsuite/tests/ghc-api/exactprint/LayoutLet2.expected.hs
@@ -0,0 +1,8 @@
+module LayoutLet2 where
+
+-- Simple let expression, rename xxx to something longer or shorter
+-- and the let/in layout should adjust accordingly
+-- In this case the tokens for xxx + a + b should also shift out
+
+foo xxxlonger = let a = 1
+ b = 2 in xxxlonger + a + b