2018-08-24 03:09:23 -04:00
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
|
2022-01-21 14:47:21 -05:00
|
|
|
#include "test_util.h"
|
2020-06-17 16:39:50 -04:00
|
|
|
|
|
|
|
OPTNONE int main(void) {
|
2018-08-24 03:09:23 -04:00
|
|
|
char *p = malloc(0);
|
|
|
|
if (!p) {
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
*p = 5;
|
|
|
|
return 0;
|
|
|
|
}
|