linux/tools/build/feature/test-reallocarray.c

// SPDX-License-Identifier: GPL-2.0
#define _GNU_SOURCE
#include <stdlib.h>

int main(void)
{
	return !!reallocarray(NULL, 1, 1);
}

#undef _GNU_SOURCE