liquidhaskell-0.8.10.7: tests/basic/neg/inc03.hs
module Inc03 where
{-@ type NN = {v:Int | v <= 0 } @-}
{-@ inc :: NN -> NN @-}
inc :: Int -> Int
inc x = x + 1
module Inc03 where
{-@ type NN = {v:Int | v <= 0 } @-}
{-@ inc :: NN -> NN @-}
inc :: Int -> Int
inc x = x + 1