Skip to content

Commit

Permalink
Add reduced congruence both branches dead test
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Oct 1, 2024
1 parent dfaf8a9 commit 36525a9
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// PARAM: --enable ana.int.congruence --enable ana.int.interval
// reduced (via creduce and manually) from sv-benchmarks/c/hardness-nfm22/hardness_codestructure_dependencies_file-70.c

main() {
int a;
unsigned c = 1;
if (a)
c = 4;
if (c + (c + 2)) // NOWARN
a = 1;
}

0 comments on commit 36525a9

Please sign in to comment.