summaryrefslogtreecommitdiff
path: root/Test/inline/fundef.bpl
blob: 9c5b2cfd0ecdb7f1b82b17b0c02206adf3d37709 (plain)
1
2
3
4
5
6
7
8
// RUN: %boogie -print:- -env:0 "%s" > "%t"
// RUN: %diff "%s.expect" "%t"
function {:inline true} foo(x:int) returns(bool)
  { x > 0 }
function {:inline false} foo2(x:int) returns(bool)
  { x > 0 }
function foo3(x:int) returns(bool)
  { x > 0 }