Skip to content

Commit cf30c3f

Browse files
author
klaas
committed
Adds slice24 test.
1 parent 6f40b47 commit cf30c3f

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#include <assert.h>
2+
#include <stdlib.h>
3+
4+
static void f(int *x) { *x = 5; }
5+
static void g(int *x) { assert(*x == 5); }
6+
7+
int main(int argc, char **argv)
8+
{
9+
int *x = (int*)malloc(sizeof(int));
10+
f(x);
11+
g(x);
12+
13+
return 0;
14+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
KNOWNBUG
2+
main.c
3+
--full-slice --add-library
4+
^EXIT=0$
5+
^SIGNAL=0$
6+
^VERIFICATION SUCCESSFUL$
7+
--
8+
Data dependencies across function calls are still not working correctly.

0 commit comments

Comments
 (0)