kernel/tools/build/feature/test-get_current_dir_name.c
2024-07-22 17:22:30 +08:00

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