2
DONTRUN: cast no working yet
4
#pragma IntModel(modulo)
8
//@ requires 0 < size < 10 && \valid_range((char*)p,0,4*size-1);
9
void f(int* p, int size) {
12
//@ loop invariant i >= 0;
13
while (i < size * sizeof(int)) {
19
//@ requires \valid(p) && \valid(q);
20
void g(int* p, int* q) {
27
//@ assert (*c == *d);
32
compile-command: "LC_ALL=C make cast_to_bytes"