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

{-# LANGUAGE NondecreasingIndentation #-}

module ShouldCompile where

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