1 | // SPDX-License-Identifier: GPL-2.0 |
---|---|
2 | #define _GNU_SOURCE |
3 | #include <stdlib.h> |
4 | |
5 | int main(void) |
6 | { |
7 | return !!reallocarray(NULL, 1, 1); |
8 | } |
9 | |
10 | #undef _GNU_SOURCE |
11 |
1 | // SPDX-License-Identifier: GPL-2.0 |
---|---|
2 | #define _GNU_SOURCE |
3 | #include <stdlib.h> |
4 | |
5 | int main(void) |
6 | { |
7 | return !!reallocarray(NULL, 1, 1); |
8 | } |
9 | |
10 | #undef _GNU_SOURCE |
11 |