Skip to content

Commit d1d85b3

Browse files
Add test
1 parent 8542481 commit d1d85b3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
//PARAM: --set ana.activated[+] useAfterFree --set ana.activated[+] threadJoins --set ana.activated[+] memOutOfBounds --enable ana.int.interval --set ana.base.arrays.domain partitioned
2+
#include <pthread.h>
3+
#include <goblint.h>
4+
5+
int main(int argc, char **argv)
6+
{
7+
int* ptrCalloc = calloc(100UL,8UL);
8+
*ptrCalloc = 8; //NOWARN
9+
}

0 commit comments

Comments
 (0)