Add testcase for elf_version

This commit is contained in:
herman ten brugge 2019-10-22 20:43:30 +02:00
parent 7268fe7239
commit b073a9c103
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,17 @@
#include <stdio.h>
#include <pthread.h>
#include <errno.h>
int
main(void)
{
int ret;
pthread_condattr_t attr;
pthread_cond_t condition;
pthread_condattr_init (&attr);
pthread_condattr_setpshared (&attr, PTHREAD_PROCESS_SHARED);
printf ("%s\n", pthread_cond_init (&condition, &attr) ? "fail":"ok");
pthread_condattr_destroy (&attr);
return 0;
}

View File

@ -0,0 +1 @@
ok