mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
12 lines
252 B
C
12 lines
252 B
C
/* DISABLED: win linux freebsd openbsd osx32 dragonflybsd netbsd
|
|
*/
|
|
|
|
/* https://issues.dlang.org/show_bug.cgi?id=23343
|
|
*/
|
|
|
|
int open(const char*, int, ...) asm("_" "open");
|
|
|
|
int main(){
|
|
int fd = open("/dev/null", 0);
|
|
return fd >= 0 ? 0 : 1;
|
|
}
|