Based off b80915eb99
and compacted into a single commit so that it will fit on the uni git server
11 lines
152 B
C
11 lines
152 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#define _GNU_SOURCE
|
|
#include <stdlib.h>
|
|
|
|
int main(void)
|
|
{
|
|
return !!reallocarray(NULL, 1, 1);
|
|
}
|
|
|
|
#undef _GNU_SOURCE
|