summaryrefslogtreecommitdiff
path: root/testsuite/tests/layout/layout006.hs
blob: 84ad72760acb842746b36bd395dad69a1e7d0fc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

module M where

-- GHC's GHC.Parser.PostProcess had a piece of code like this

f :: IO ()
f
 | True = do
 let x = ()
     y = ()
 return ()
 | True = return ()