add uninitialized allocator tests

This commit is contained in:
Daniel Micay
2018-08-24 05:02:00 -04:00
parent 2d168b0516
commit fe85116891
4 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#include <stdlib.h>
__attribute__((optimize(0)))
int main(void) {
void *p = realloc((void *)1, 16);
if (!p) {
return 1;
}
return 0;
}