summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/tsan/static_init2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/tsan/static_init2.cc')
-rw-r--r--compiler-rt/test/tsan/static_init2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/static_init2.cc b/compiler-rt/test/tsan/static_init2.cc
index 667aed1343d..ca2300ae680 100644
--- a/compiler-rt/test/tsan/static_init2.cc
+++ b/compiler-rt/test/tsan/static_init2.cc
@@ -27,7 +27,7 @@ int main() {
pthread_create(&t[1], 0, Thread, 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