liquidhaskell-0.9.0.2.1: tests/neg/T743.hs
{-@ LIQUID "--expect-any-error" @-}
module T743 where
{-@ checkNat :: Nat -> Int @-}
checkNat :: Int -> Int
checkNat x = x
unsound :: Int
unsound = checkNat (-1)
data TestBS = TestBS Int deriving (Read)
{-@ LIQUID "--expect-any-error" @-}
module T743 where
{-@ checkNat :: Nat -> Int @-}
checkNat :: Int -> Int
checkNat x = x
unsound :: Int
unsound = checkNat (-1)
data TestBS = TestBS Int deriving (Read)