summaryrefslogtreecommitdiff
path: root/Test/inline/fundef.bpl
blob: 1d2dd50dfef20781aa2423224effd4e4cb7c2ecb (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 }