summaryrefslogtreecommitdiff
path: root/testsuite/tests/codeGen/should_run/T13425.hs
blob: 49d07211ccd9fd7413c7d80a7237729e54d0320b (plain)
1
2
3
4
5
6
7
8
9
10
import Data.Bits ((.&.))

flags :: Int -> Int
flags x
  | x .&. 128 > 0 = 12
  | otherwise = 13
{-# NOINLINE flags #-}

main :: IO ()
main = print (flags 255)