diff options
| author | Alexey Samsonov <samsonov@google.com> | 2014-02-14 14:35:48 +0000 |
|---|---|---|
| committer | Alexey Samsonov <samsonov@google.com> | 2014-02-14 14:35:48 +0000 |
| commit | e6a6183e9b8ecf7dec8808fa87577d5b574ca22e (patch) | |
| tree | a6e5f3181f2e0c4ffc21f9648c5e9c873f34b330 /compiler-rt/lib/tsan/lit_tests/thread_leak.c | |
| parent | 9f20d6703479a952465f7db0c2fbd70904c030c2 (diff) | |
| download | bcm5719-llvm-e6a6183e9b8ecf7dec8808fa87577d5b574ca22e.tar.gz bcm5719-llvm-e6a6183e9b8ecf7dec8808fa87577d5b574ca22e.zip | |
Move TSan lit-tests under test/tsan
llvm-svn: 201414
Diffstat (limited to 'compiler-rt/lib/tsan/lit_tests/thread_leak.c')
| -rw-r--r-- | compiler-rt/lib/tsan/lit_tests/thread_leak.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/compiler-rt/lib/tsan/lit_tests/thread_leak.c b/compiler-rt/lib/tsan/lit_tests/thread_leak.c deleted file mode 100644 index c5e669e5d99..00000000000 --- a/compiler-rt/lib/tsan/lit_tests/thread_leak.c +++ /dev/null @@ -1,17 +0,0 @@ -// RUN: %clang_tsan -O1 %s -o %t && %t 2>&1 | FileCheck %s -#include <pthread.h> -#include <stdio.h> - -void *Thread(void *x) { - return 0; -} - -int main() { - pthread_t t; - pthread_create(&t, 0, Thread, 0); - pthread_join(t, 0); - printf("PASS\n"); - return 0; -} - -// CHECK-NOT: WARNING: ThreadSanitizer: thread leak |

