diff options
author | Dan Liew <daniel.liew@imperial.ac.uk> | 2015-06-28 01:44:30 +0100 |
---|---|---|
committer | Dan Liew <daniel.liew@imperial.ac.uk> | 2015-06-28 01:44:30 +0100 |
commit | 962f8d5252b3f5ec4d19e0cd2a430934bd55cc6d (patch) | |
tree | 27d5f9b0d130c6c1a6758bc0b7456b0aa51e34e0 /Test/stratifiedinline/bar13.bpl | |
parent | e11d65009d0b4ba1327f5f5dd6b26367330611f0 (diff) |
Normalise line endings using a .gitattributes file. Unfortunately
this required that this commit globally modify most files. If you
want to use git blame to see the real author of a line use the
``-w`` flag so that whitespace changes are ignored.
Diffstat (limited to 'Test/stratifiedinline/bar13.bpl')
-rw-r--r-- | Test/stratifiedinline/bar13.bpl | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/Test/stratifiedinline/bar13.bpl b/Test/stratifiedinline/bar13.bpl index 7c8cc9bd..6447f622 100644 --- a/Test/stratifiedinline/bar13.bpl +++ b/Test/stratifiedinline/bar13.bpl @@ -1,36 +1,36 @@ -// RUN: %boogie -stratifiedInline:1 -vc:i "%s" > "%t"
-// RUN: %diff "%s.expect" "%t"
-var alloc: int;
-var assertsPassed: bool;
-procedure boogie_si_record_li2bpl_int(x: int);
-
-procedure __HAVOC_malloc(size: int) returns (ret: int);
- free requires size >= 0;
- modifies alloc;
- free ensures ret == old(alloc);
- free ensures alloc >= old(alloc) + size;
-
-
-procedure foo(arg: int)
- modifies alloc;
-{
- var tt: int;
-
- anon0__unique__1:
- // assume NumberOfBytes_2 >= 0;
- call boogie_si_record_li2bpl_int(arg);
- call tt := __HAVOC_malloc(arg);
- call boogie_si_record_li2bpl_int(alloc);
- return;
-}
-
-procedure {:entrypoint} main()
- modifies alloc;
-{
- var t1: int;
-
- assume alloc > 0;
- call foo(t1);
- assume alloc < 0;
-}
-
+// RUN: %boogie -stratifiedInline:1 -vc:i "%s" > "%t" +// RUN: %diff "%s.expect" "%t" +var alloc: int; +var assertsPassed: bool; +procedure boogie_si_record_li2bpl_int(x: int); + +procedure __HAVOC_malloc(size: int) returns (ret: int); + free requires size >= 0; + modifies alloc; + free ensures ret == old(alloc); + free ensures alloc >= old(alloc) + size; + + +procedure foo(arg: int) + modifies alloc; +{ + var tt: int; + + anon0__unique__1: + // assume NumberOfBytes_2 >= 0; + call boogie_si_record_li2bpl_int(arg); + call tt := __HAVOC_malloc(arg); + call boogie_si_record_li2bpl_int(alloc); + return; +} + +procedure {:entrypoint} main() + modifies alloc; +{ + var t1: int; + + assume alloc > 0; + call foo(t1); + assume alloc < 0; +} + |