diff options
Diffstat (limited to 'Test/test1/StatementIds0.bpl')
-rw-r--r-- | Test/test1/StatementIds0.bpl | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Test/test1/StatementIds0.bpl b/Test/test1/StatementIds0.bpl new file mode 100644 index 00000000..abf26159 --- /dev/null +++ b/Test/test1/StatementIds0.bpl @@ -0,0 +1,24 @@ +// RUN: %boogie -noVerify "%s" > "%t" +// RUN: %diff "%s.expect" "%t" + +procedure test0(n: int) +{ + assume {:id "s0"} true; + assert {:id "s0"} true; +} + +procedure test1() +{ + call {:id "s0"} P(); +} + +procedure test2(n: int) +{ + while (*) + invariant {:id "s0"} true; + invariant {:id "s0"} true; + { + } +} + +procedure P(); |