summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/tsan/static_init5.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/tsan/static_init5.cc')
-rw-r--r--compiler-rt/test/tsan/static_init5.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/static_init5.cc b/compiler-rt/test/tsan/static_init5.cc
index 961e3a3b632..b334981e85b 100644
--- a/compiler-rt/test/tsan/static_init5.cc
+++ b/compiler-rt/test/tsan/static_init5.cc
@@ -36,7 +36,7 @@ int main() {
pthread_create(&t[1], 0, Thread1, 0);
pthread_join(t[0], 0);
pthread_join(t[1], 0);
- printf("PASS\n");
+ fprintf(stderr, "PASS\n");
}
// CHECK-NOT: WARNING: ThreadSanitizer: data race
OpenPOWER on IntegriCloud