diff options
Diffstat (limited to 'testsuite/tests/ghc-api/exactprint/LayoutIn3a.expected.hs')
-rw-r--r-- | testsuite/tests/ghc-api/exactprint/LayoutIn3a.expected.hs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tests/ghc-api/exactprint/LayoutIn3a.expected.hs b/testsuite/tests/ghc-api/exactprint/LayoutIn3a.expected.hs new file mode 100644 index 0000000000..c0a552c0d0 --- /dev/null +++ b/testsuite/tests/ghc-api/exactprint/LayoutIn3a.expected.hs @@ -0,0 +1,13 @@ +module LayoutIn3a where + +--Layout rule applies after 'where','let','do' and 'of' + +--In this Example: rename 'x' after 'let' to 'anotherX'. + +foo x = let anotherX = 12 in ( + anotherX ) where y = 2 + --there is a comment. + w = x + where + x = let y = 5 in y + 3 + |