summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/tsan/static_init1.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/tsan/static_init1.cc')
-rw-r--r--compiler-rt/test/tsan/static_init1.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/static_init1.cc b/compiler-rt/test/tsan/static_init1.cc
index 3e5fb14ba44..3e6e4f9dfec 100644
--- a/compiler-rt/test/tsan/static_init1.cc
+++ b/compiler-rt/test/tsan/static_init1.cc
@@ -21,7 +21,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