diff options
author | qadeer <qadeer@microsoft.com> | 2011-11-23 11:26:34 -0800 |
---|---|---|
committer | qadeer <qadeer@microsoft.com> | 2011-11-23 11:26:34 -0800 |
commit | df1cd695daffb01a590a7310dbee1b6594de2ecd (patch) | |
tree | e35d6d49291a2a89ba62647c23fd354ccbb81e25 /Test/houdini/test7.bpl | |
parent | 01c3e8e8045cfa8a2b5f0746897441ebf027749d (diff) |
fixed bug in the inlineDepth option for houdini
small clean up in the inlining implementation
Diffstat (limited to 'Test/houdini/test7.bpl')
-rw-r--r-- | Test/houdini/test7.bpl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Test/houdini/test7.bpl b/Test/houdini/test7.bpl new file mode 100644 index 00000000..b5c6a4c6 --- /dev/null +++ b/Test/houdini/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 |