diff options
Diffstat (limited to 'winsup/testsuite/winsup.api/pthread/exit1.c')
-rw-r--r-- | winsup/testsuite/winsup.api/pthread/exit1.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/winsup/testsuite/winsup.api/pthread/exit1.c b/winsup/testsuite/winsup.api/pthread/exit1.c new file mode 100644 index 000000000..06b7692de --- /dev/null +++ b/winsup/testsuite/winsup.api/pthread/exit1.c @@ -0,0 +1,18 @@ +/* + * Test for pthread_exit(). + * + * Depends on API functions: None. + */ + +#include "test.h" + +int +main(int argc, char * argv[]) +{ + /* A simple test first. */ + pthread_exit((void *) 0); + + /* Not reached */ + assert(0); + return 0; +} |