-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eade39e
commit 022a9bc
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
//SKIP PARAM: --set ana.activated[+] affeq --set sem.int.signed_overflow assume_none --set ana.relation.privatization top --enable witness.yaml.enabled | ||
// Identical to Example 63/01; additionally checking that writing out witnesses does not crash the analyzer | ||
#include <goblint.h> | ||
|
||
void main(void) { | ||
int i; | ||
int j; | ||
int k; | ||
i = 2; | ||
j = k + 5; | ||
|
||
while (i < 100) { | ||
__goblint_check(3 * i - j + k == 1); | ||
i = i + 1; | ||
j = j + 3; | ||
} | ||
__goblint_check(3 * i - j + k == 1); | ||
} |