Testing <threads.h>
-------------------
  Checking whether <threads.h> is available... OK

  Test availability of macro ONCE_FLAG_INIT... OK

  Test availability of macro thread_local... OK

  Test availability of macro TSS_DTOR_ITERATIONS... OK

  Testing for constant thrd_success... OK

  Testing for constant thrd_busy... OK

  Testing for constant thrd_error... OK

  Testing for constant thrd_nomem... OK

  Testing for constant thrd_timedout... OK

  Testing for constant mtx_plain... OK

  Testing for constant mtx_recursive... OK

  Testing for constant mtx_timed... OK

  Testing for type thrd_t... OK

  Testing for type thrd_start_t... OK

  Testing for type mtx_t... OK

  Testing for type cnd_t... OK

  Testing for type once_flag... OK

  Testing for type tss_t... OK

  Testing for type tss_dtor_t... OK

  Test availability of function thrd_create... OK
  Test for type of function thrd_create... FAIL
    Function "thrd_create" has incorrect type.  Compiler message:
    -----------------------------------------------------------------------
    /home/jmtorrespalma/MyProjects/TFG/glibc-code/build/conform/ISO11/threads.h/scratch/threads.h-test.c:3:34: error: conflicting types for ‘foobarbaz’
     extern __typeof__ (&thrd_create) foobarbaz;
                                      ^
    /home/jmtorrespalma/MyProjects/TFG/glibc-code/build/conform/ISO11/threads.h/scratch/threads.h-test.c:2:14: note: previous declaration of ‘foobarbaz’ was here
     extern int (*foobarbaz) (thrd_t, thrd_start_t, void*);
                  ^
    -----------------------------------------------------------------------

  Test availability of function thrd_equal... OK
  Test for type of function thrd_equal... OK

  Test availability of function thrd_current... OK
  Test for type of function thrd_current... OK

  Test availability of function thrd_sleep... OK
  Test for type of function thrd_sleep... OK

  Test availability of function thrd_exit... OK
  Test for type of function thrd_exit... FAIL
    Function "thrd_exit" has incorrect type.  Compiler message:
    -----------------------------------------------------------------------
    /home/jmtorrespalma/MyProjects/TFG/glibc-code/build/conform/ISO11/threads.h/scratch/threads.h-test.c:3:32: error: conflicting types for ‘foobarbaz’
     extern __typeof__ (&thrd_exit) foobarbaz;
                                    ^
    /home/jmtorrespalma/MyProjects/TFG/glibc-code/build/conform/ISO11/threads.h/scratch/threads.h-test.c:2:15: note: previous declaration of ‘foobarbaz’ was here
     extern void (*foobarbaz) (int);
                   ^
    -----------------------------------------------------------------------

  Test availability of function thrd_detach... OK
  Test for type of function thrd_detach... OK

  Test availability of function thrd_join... OK
  Test for type of function thrd_join... OK

  Test availability of function thrd_yield... OK
  Test for type of function thrd_yield... OK

  Test availability of function mtx_init... OK
  Test for type of function mtx_init... OK

  Test availability of function mtx_lock... OK
  Test for type of function mtx_lock... OK

  Test availability of function mtx_timedlock... OK
  Test for type of function mtx_timedlock... OK

  Test availability of function mtx_trylock... OK
  Test for type of function mtx_trylock... OK

  Test availability of function mtx_unlock... OK
  Test for type of function mtx_unlock... OK

  Test availability of function mtx_destroy... OK
  Test for type of function mtx_destroy... OK

  Test availability of function call_once... OK
  Test for type of function call_once... OK

  Test availability of function cnd_init... OK
  Test for type of function cnd_init... OK

  Test availability of function cnd_signal... OK
  Test for type of function cnd_signal... OK

  Test availability of function cnd_broadcast... OK
  Test for type of function cnd_broadcast... OK

  Test availability of function cnd_wait... OK
  Test for type of function cnd_wait... OK

  Test availability of function cnd_timedwait... OK
  Test for type of function cnd_timedwait... OK

  Test availability of function cnd_destroy... OK
  Test for type of function cnd_destroy... OK

  Test availability of function tss_create... OK
  Test for type of function tss_create... OK

  Test availability of function tss_get... OK
  Test for type of function tss_get... OK

  Test availability of function tss_set... OK
  Test for type of function tss_set... OK

  Test availability of function tss_delete... OK
  Test for type of function tss_delete... OK

  Checking the namespace of "threads.h"... OK


----------------------------------------------------------------------------
  Total number of tests   :   70
  Number of failed tests  :    2 (  2%)
  Number of xfailed tests :    0 (  0%)
  Number of skipped tests :    0 (  0%)
