diff options
author | schaef <unknown> | 2009-11-20 09:24:55 +0000 |
---|---|---|
committer | schaef <unknown> | 2009-11-20 09:24:55 +0000 |
commit | 1ea222005d9d4722457f70cbd771fde5eed4d76f (patch) | |
tree | ed216de603d9ae0f5664d91775e7a684492a448a /Test/doomed | |
parent | 97c46034da2f75ee0ee081ab2782260ac27ea04f (diff) |
Diffstat (limited to 'Test/doomed')
-rw-r--r-- | Test/doomed/notdoomed.bpl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Test/doomed/notdoomed.bpl b/Test/doomed/notdoomed.bpl index 86bf76d1..eb60536f 100644 --- a/Test/doomed/notdoomed.bpl +++ b/Test/doomed/notdoomed.bpl @@ -23,6 +23,17 @@ procedure b(x:int) }
+procedure c(x:int)
+{
+ var y : int;
+
+ if(x<0) {
+ y := 1;
+ } else {
+ y := 2;
+ assert {:PossiblyUnreachable} false;
+ }
+}
|