-
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.
Use same invalidation strategy as base (References #1535)
- Loading branch information
1 parent
b68df11
commit 508d7e2
Showing
2 changed files
with
25 additions
and
4 deletions.
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,22 @@ | ||
// SKIP PARAM: --set ana.activated[+] apron --set sem.int.signed_overflow assume_none | ||
#include <pthread.h> | ||
#include <goblint.h> | ||
#include <stdio.h> | ||
|
||
int debug; | ||
int other; | ||
|
||
int main() { | ||
int top; | ||
|
||
// Needed so Base & DefExc doesn't find this information because it invalidates less | ||
if(top) { | ||
debug = 3; | ||
} | ||
|
||
fscanf(stdin, "%d", &other); | ||
|
||
// Fails as debug is invalidated | ||
__goblint_check(debug <= 3); | ||
return 0; | ||
} |