Skip to content

Commit

Permalink
fix headers in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stilscher committed Nov 23, 2023
1 parent 3087fff commit a7265c8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/regression/39-signed-overflows/07-abs-sqrt.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ int main() {
int result = data * data; //NOWARN
}
return 8;
}
}
2 changes: 2 additions & 0 deletions tests/regression/39-signed-overflows/08-labs.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
//PARAM: --enable ana.int.interval --set ana.activated[+] tmpSpecial
#include<stdlib.h>
#include<math.h>

int main() {
long data;
if (data > (-0xffffffff - 1))
Expand Down
2 changes: 2 additions & 0 deletions tests/regression/39-signed-overflows/09-labs-sqrt.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
//PARAM: --enable ana.int.interval --enable ana.float.interval --set ana.activated[+] tmpSpecial
#include<stdlib.h>
#include<math.h>

int main() {
int data;
if (data > (-0x7fffffff - 1) && llabs(data) < (long)sqrt((double)0x7fffffff))
Expand Down

0 comments on commit a7265c8

Please sign in to comment.