summaryrefslogtreecommitdiff
path: root/tests/self.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/self.c')
-rw-r--r--tests/self.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/self.c b/tests/self.c
deleted file mode 100644
index 0addfc8..0000000
--- a/tests/self.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Test for pthread_self().
- *
- * Depends on API functions: None.
- */
-
-#include <pthread.h>
-
-int
-main(int argc, char * argv[])
-{
- pthread_t id;
-
- /* We can't do anything with this, though, because it is not
- safe to assume anything about the internal structure of
- a `pthread_t'. */
-
- id = pthread_self();
-
- return 0;
-}