diff options
author | akashlal <unknown> | 2013-04-18 17:50:18 +0530 |
---|---|---|
committer | akashlal <unknown> | 2013-04-18 17:50:18 +0530 |
commit | a2fcc9e7617800e2139a9cbbfa720222e4c1b6f5 (patch) | |
tree | 48d4d5b6d86968a058ffbbe9661518ec763b9204 /Test/AbsHoudini/test7.bpl | |
parent | 308a4d37f063384cb8de166b248d9377c904e77c (diff) |
Nice clean re-implementation of AbstractHoudini. And tests
Diffstat (limited to 'Test/AbsHoudini/test7.bpl')
-rw-r--r-- | Test/AbsHoudini/test7.bpl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Test/AbsHoudini/test7.bpl b/Test/AbsHoudini/test7.bpl new file mode 100644 index 00000000..b5c6a4c6 --- /dev/null +++ b/Test/AbsHoudini/test7.bpl @@ -0,0 +1,15 @@ +var g: int;
+
+procedure main()
+modifies g;
+{
+ g := 0;
+ call foo();
+ assert g == 1;
+}
+
+procedure foo()
+modifies g;
+{
+ g := g + 1;
+}
\ No newline at end of file |