]> git.proxmox.com Git - rustc.git/blobdiff - src/compiler-rt/test/tsan/inlined_memcpy_race.cc
New upstream version 1.12.0+dfsg1
[rustc.git] / src / compiler-rt / test / tsan / inlined_memcpy_race.cc
index 720f2bfcac8c00abef78c1adcca781a49e174663..4d085893aae0c122479494e247df168c2528efaa 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clangxx_tsan -O1 %s -o %t && %deflake %run %t | FileCheck %s
+// RUN: %clangxx_tsan -O1 %s -o %t && %deflake %run %t 2>&1 | FileCheck %s
 #include "test.h"
 #include <string.h>
 
@@ -24,7 +24,7 @@ int main() {
   pthread_create(&t[1], NULL, MemSetThread, x);
   pthread_join(t[0], NULL);
   pthread_join(t[1], NULL);
-  printf("PASS\n");
+  fprintf(stderr, "PASS\n");
   return 0;
 }