summaryrefslogtreecommitdiff
path: root/tests/exit1.c
blob: 758852ade8c075cf316c1180fe4ae86f1eb82e95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Test for pthread_exit().
 *
 * Depends on API functions: None.
 */

#include <pthread.h>

int
main(int argc, char * argv[])
{
	/* A simple test firstly. */
	pthread_exit((void *) 0);

	/* Not reached */
	return 1;
}