test-reallocarray.c 152 B

12345678910
  1. // SPDX-License-Identifier: GPL-2.0
  2. #define _GNU_SOURCE
  3. #include <stdlib.h>
  4. int main(void)
  5. {
  6. return !!reallocarray(NULL, 1, 1);
  7. }
  8. #undef _GNU_SOURCE