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

module M where

-- GHC's RdrHsSyn.lhs had a piece of code like this

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