summaryrefslogtreecommitdiff
path: root/Test/doomed/notdoomed.bpl
diff options
context:
space:
mode:
authorGravatar schaef <unknown>2009-12-18 13:41:32 +0000
committerGravatar schaef <unknown>2009-12-18 13:41:32 +0000
commitd5f09caee2ca7395d0a3dae6c29d7d10a6bc1de9 (patch)
treeca6bc4de686a6e14cc32971483a1e675ef7c5315 /Test/doomed/notdoomed.bpl
parent9447617aefbe9706b0d74a827181976e4b9e9d26 (diff)
Doomed checking now uses the counterexample trace to minimize the number of theorem prover calls (See useCE in notdoomed.bpl).
Diffstat (limited to 'Test/doomed/notdoomed.bpl')
-rw-r--r--Test/doomed/notdoomed.bpl18
1 files changed, 18 insertions, 0 deletions
diff --git a/Test/doomed/notdoomed.bpl b/Test/doomed/notdoomed.bpl
index eb60536f..c3193a01 100644
--- a/Test/doomed/notdoomed.bpl
+++ b/Test/doomed/notdoomed.bpl
@@ -35,5 +35,23 @@ procedure c(x:int)
}
}
+procedure useCE(x:int)
+{
+ var y : int;
+
+ if(x<0) {
+ y := 1;
+ } else {
+ y := 2;
+ }
+ if(x<7) {
+ y := 5;
+ } else {
+ y := 6;
+ }
+
+}
+
+