Sign in
gnu
/
binutils-gdb
/
4be0c94123d83c68608a584f778f376cd4c11902
/
.
/
sim
/
testsuite
/
sim
/
cris
/
c
/
getcwd1.c
blob: 3838916143af393ab46bd05536397b5bfa2650a6 [
file
] [
log
] [
blame
]
/*
#notarget: cris*-*-elf
*/
#include
<unistd.h>
#include
<errno.h>
#include
<stdio.h>
#include
<stdlib.h>
int
main
(
int
argc
,
char
*
argv
[])
{
if
(
getcwd
((
void
*)
-
1
,
4096
)
!=
NULL
||
errno
!=
EFAULT
)
abort
();
printf
(
"pass\n"
);
exit
(
0
);
}