diffblue-cbmc/regression/cbmc/Malloc12/main.c

13 lines
195 B
C

#include <assert.h>
void *malloc(__CPROVER_size_t);
// if the implementation of malloc is sound, this one should fail
int main() {
char * a;
a = malloc(5);
assert(a != 0);
return 0;
}