https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118024

--- Comment #2 from Sam James <sjames at gcc dot gnu.org> ---
```
void *realloc(void *, long);
void *reallocarray(void *);
void *reallocarray(void *) __attribute__((__malloc__(reallocarray)));
void stravis() {
  char *buf = reallocarray(0);
  realloc(buf, 1);
}
```

Reply via email to