commit | b4b6d4a02fa8aa8187d426b508fb7f3b69df0dcc | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Wed Jan 02 15:54:55 2019 +0000 |
committer | Andrew Scull <ascull@google.com> | Wed Jan 02 15:54:55 2019 +0000 |
tree | fdf4498bc30cb80757eaf20b46ea866b23141a93 |
v4.19.13 snapshot.
diff --git a/tools/build/feature/test-reallocarray.c b/tools/build/feature/test-reallocarray.c new file mode 100644 index 0000000..8170de3 --- /dev/null +++ b/tools/build/feature/test-reallocarray.c
@@ -0,0 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 +#define _GNU_SOURCE +#include <stdlib.h> + +int main(void) +{ + return !!reallocarray(NULL, 1, 1); +}