linux/linux-5.4.31/tools/build/feature/test-get_current_dir_name.c

12 lines
177 B
C

// SPDX-License-Identifier: GPL-2.0
#define _GNU_SOURCE
#include <unistd.h>
#include <stdlib.h>
int main(void)
{
free(get_current_dir_name());
return 0;
}
#undef _GNU_SOURCE