diff options
Diffstat (limited to 'utils/check-exact/cases/LayoutLet3.hs')
-rw-r--r-- | utils/check-exact/cases/LayoutLet3.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/check-exact/cases/LayoutLet3.hs b/utils/check-exact/cases/LayoutLet3.hs new file mode 100644 index 0000000000..5ba80aff6a --- /dev/null +++ b/utils/check-exact/cases/LayoutLet3.hs @@ -0,0 +1,10 @@ +module LayoutLet3 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 xxx = let a = 1 + b = 2 + in xxx + a + b + |