summaryrefslogtreecommitdiff
path: root/testsuite/tests/printer/Test16279.hs
blob: 7817edadc54ae8cb5782f6793b6adc0156a969e8 (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE AlternativeLayoutRule #-}
{-# LANGUAGE LambdaCase            #-}
-- duplicate of T13087.hs

isOne :: Int -> Bool
isOne = \case 1 -> True
              _ -> False

main = return ()