summaryrefslogtreecommitdiff
path: root/Test/inline/fundef2.bpl
blob: 2e005fcc41888ea5d364cfb93b8f5b730d2a64c5 (plain)
1
2
3
4
5
6
7
function {:inline true} foo(x:int) returns(bool)
  { x > 0 }

procedure P() {
  assert foo(13);
  assert foo(-5);  // error
}