diff options
Diffstat (limited to 'test-dirent-namlen.c')
-rw-r--r-- | test-dirent-namlen.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test-dirent-namlen.c b/test-dirent-namlen.c new file mode 100644 index 00000000..4a007892 --- /dev/null +++ b/test-dirent-namlen.c @@ -0,0 +1,10 @@ +#include <sys/types.h> +#include <dirent.h> + +int +main(void) +{ + struct dirent entry; + + return (sizeof(entry.d_namlen) == 0); +} |