Skip to content

Commit

Permalink
#295, modified simple tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandernutz committed Jan 27, 2018
1 parent 7b0827f commit 2e1a970
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions trunk/examples/programs/heapseparator/mem-separable-01.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ int main() {
*q = 0;
*r = 0;

int x = *p;
int y = *q;
int z = *r;

free(p);
free(q);
free(r);
Expand Down
5 changes: 5 additions & 0 deletions trunk/examples/programs/heapseparator/mem-separable-02.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ int main() {
*r = 0;
*s = 0;

int x = *p;
int y = *q;
int z = *r;
int i = *r;

free(p);
free(q);
free(r);
Expand Down
6 changes: 6 additions & 0 deletions trunk/examples/programs/heapseparator/mem-separable-03.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ int main() {
*s = 0;
*t = 0;

int x = *p;
int y = *q;
int z = *r;
int i = *s;
int j = *t;

free(p);
free(q);
free(r);
Expand Down

0 comments on commit 2e1a970

Please sign in to comment.