mirror_ubuntu-kernels/tools/build/feature/test-reallocarray.c

11 lines
152 B
C

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