diff options
author | Dan Liew <daniel.liew@imperial.ac.uk> | 2014-05-05 19:51:59 +0100 |
---|---|---|
committer | Dan Liew <daniel.liew@imperial.ac.uk> | 2014-05-05 19:51:59 +0100 |
commit | 3b38b009d086c601cae884ad62ceeb9bb16ae5d5 (patch) | |
tree | 3c06797a3003d92166606a8ddd12881f412d076f /Test/test0/Quoting.bpl.expect | |
parent | ccf94ed737752c21edff3cab8a71de0766a48d1c (diff) |
Enabled most of the name resolution lit tests. They don't all pass
yet due to a bug in -useBaseNameForFileName.
Diffstat (limited to 'Test/test0/Quoting.bpl.expect')
-rw-r--r-- | Test/test0/Quoting.bpl.expect | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Test/test0/Quoting.bpl.expect b/Test/test0/Quoting.bpl.expect new file mode 100644 index 00000000..3a1037aa --- /dev/null +++ b/Test/test0/Quoting.bpl.expect @@ -0,0 +1,35 @@ + +function \true() : bool; + +type \procedure; + +procedure \old(any: \procedure) returns (\var: \procedure); + + + +implementation \old(any: \procedure) returns (\var: \procedure) +{ + var \modifies: \procedure; + + \modifies := any; + \var := \modifies; +} + + + +procedure qux(a: \procedure); + + + +implementation qux(a: \procedure) +{ + var \var: \procedure; + var x: bool; + + call \var := \old(a); + x := \true(); +} + + + +Boogie program verifier finished with 0 verified, 0 errors |