Sign in
fuchsia
/
third_party
/
binutils-gdb
/
ee4dff511caaaa9156e8de0cf54aeafed1e27908
/
.
/
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
);
}