summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/lit_tests/fd_pipe_norace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/tsan/lit_tests/fd_pipe_norace.cc')
-rw-r--r--compiler-rt/lib/tsan/lit_tests/fd_pipe_norace.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/tsan/lit_tests/fd_pipe_norace.cc b/compiler-rt/lib/tsan/lit_tests/fd_pipe_norace.cc
index 1be1a3474b0..2da69ea2111 100644
--- a/compiler-rt/lib/tsan/lit_tests/fd_pipe_norace.cc
+++ b/compiler-rt/lib/tsan/lit_tests/fd_pipe_norace.cc
@@ -27,6 +27,7 @@ int main() {
pthread_create(&t[1], NULL, Thread2, NULL);
pthread_join(t[0], NULL);
pthread_join(t[1], NULL);
+ printf("OK\n");
}
// CHECK-NOT: WARNING: ThreadSanitizer: data race
OpenPOWER on IntegriCloud