diff options
author | 2013-07-30 15:02:00 -0700 | |
---|---|---|
committer | 2013-07-30 15:02:00 -0700 | |
commit | 7bea611b3cac30d5d55d4687d1c921fbaebe7078 (patch) | |
tree | 1d9c609ce71e2a2c5b11b0df06c5dfa573c4072b /Test/symdiff/foo.bpl | |
parent | ef007fa516b790fedb2f5430c4069fbb8d1bbb58 (diff) |
Added test cases for symdiff (z3multipleErrors flag)
Diffstat (limited to 'Test/symdiff/foo.bpl')
-rw-r--r-- | Test/symdiff/foo.bpl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Test/symdiff/foo.bpl b/Test/symdiff/foo.bpl new file mode 100644 index 00000000..2859aa45 --- /dev/null +++ b/Test/symdiff/foo.bpl @@ -0,0 +1,17 @@ +procedure Foo(x:int)
+{
+ var ok:bool;
+
+ ok := true;
+
+ if (x == 1) {
+ ok := false;
+ } else if (x == 2) {
+ ok := false;
+ } else if (x == 3) {
+ ok := false;
+ }
+
+ assert ok;
+
+}
\ No newline at end of file |