forked from OSchip/llvm-project
[TSan][libdispatch] Make test work on Linux
llvm-svn: 357729
This commit is contained in:
parent
6af8e1e64c
commit
be09db001a
|
@ -1,10 +1,11 @@
|
|||
// RUN: %clangxx_tsan %s -o %t
|
||||
// RUN: %clangxx_tsan %s %link_libcxx_tsan -o %t
|
||||
// RUN: %run %t 2>&1 | FileCheck %s --implicit-check-not='ThreadSanitizer'
|
||||
|
||||
#include <dispatch/dispatch.h>
|
||||
|
||||
#import <memory>
|
||||
#import <stdatomic.h>
|
||||
#include <memory>
|
||||
#include <stdatomic.h>
|
||||
#include <cstdio>
|
||||
|
||||
_Atomic(long) destructor_counter = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue