1 // RUN: %clang_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
10 xdrmem_create(&xdrs
, buf
, sizeof(buf
), XDR_ENCODE
);
15 int main(int argc
, char *argv
[]) {
17 pthread_create(&th
[0], 0, thr
, 0);
18 pthread_create(&th
[1], 0, thr
, 0);
19 pthread_join(th
[0], 0);
20 pthread_join(th
[1], 0);