summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/parser/should_fail/NondecreasingIndentationFail.hs
blob: 5b67a606127a95b70996a006d28873b5ef15e231 (plain)
1
2
3
4
5
6
7
8
9
10

{-# LANGUAGE NoNondecreasingIndentation #-}

module ShouldCompile where

f :: IO ()
f = do if True then f else do
       f
       if True then f else do
       f