summaryrefslogtreecommitdiff
path: root/tools/build/feature/test-get_current_dir_name.c
blob: c3c201691b4fb93039324deadc1821d84e8b9cbb (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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