diff options
Diffstat (limited to 'Test/aitest1/Linear6.bpl')
-rw-r--r-- | Test/aitest1/Linear6.bpl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Test/aitest1/Linear6.bpl b/Test/aitest1/Linear6.bpl new file mode 100644 index 00000000..83e52a9a --- /dev/null +++ b/Test/aitest1/Linear6.bpl @@ -0,0 +1,21 @@ +// Simple test file for checking the inference of linear constraints.
+
+var x: int;
+var y: int;
+var z: int;
+
+procedure p()
+ modifies x;
+{
+A:
+ x := 8;
+ goto B, C;
+B:
+ x := 9;
+ goto D;
+C:
+ x := 10;
+ goto D;
+D:
+ return;
+}
|