summaryrefslogtreecommitdiff
path: root/tools/build/feature/test-reallocarray.c
blob: 8f6743e31da71a1abca1bcc07512aae51957430e (plain)
1
2
3
4
5
6
7
8
9
10
// SPDX-License-Identifier: GPL-2.0
#define _GNU_SOURCE
#include <stdlib.h>

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

#undef _GNU_SOURCE