summaryrefslogtreecommitdiff
path: root/test/smt/add_overflow.unsat.sail
blob: 3da55b550e4469ba44134ac7c6db1d93b739d685 (plain)
1
2
3
4
5
6
7
8
9
10
default Order dec

$include <prelude.sail>

$property
function prop(x: int, y: int) -> bool = {
  if x >= 0  & y >= 0 then {
    x + y >= 0
  } else true
}