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

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