summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/DoAndIfThenElse.hs
blob: 5bfb6edc868bcdbc296d2de4778543364e748e04 (plain)
1
2
3
4
5
6
7
8
9

{-# LANGUAGE DoAndIfThenElse #-}

module DoAndIfThenElse where

foo :: IO ()
foo = do if True
         then return ()
         else return ()