Skip to content

Commit

Permalink
Add test which can be run in isolation
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-schwarz committed Nov 18, 2023
1 parent 5663482 commit 88957a8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/regression/39-signed-overflows/06-abs.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
//PARAM: --enable ana.int.interval --set ana.activated[+] tmpSpecial
#include<math.h>
int main() {
int data;
if (data > (-0x7fffffff - 1))
{
if (abs(data) < 100)
{
int result = data * data;
}

int result = data * data;
}
return 8;
}

0 comments on commit 88957a8

Please sign in to comment.