3 // RUN: %clang_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
13 xdrmem_create(&xdrs
, buf
, sizeof(buf
), XDR_ENCODE
);
18 int main(int argc
, char *argv
[]) {
20 pthread_create(&th
[0], 0, thr
, 0);
21 pthread_create(&th
[1], 0, thr
, 0);
22 pthread_join(th
[0], 0);
23 pthread_join(th
[1], 0);
24 fprintf(stderr
, "DONE\n");