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