packages feed

liquidhaskell-0.9.0.2.1: tests/neg/Test00c.hs

{-@ LIQUID "--expect-any-error" @-}
module Test00c (ok, inc) where

{-@ ok
      :: Int -> Nat
  @-}
ok :: Int -> Int
ok x = x + 120

{-@ inc :: Int -> Nat @-}
inc :: Int -> Int
inc x = x + 10