[TSan][libdispatch] Make test work on Linux

llvm-svn: 357729
This commit is contained in:
Julian Lettner 2019-04-04 21:55:40 +00:00
parent 6af8e1e64c
commit be09db001a
1 changed files with 4 additions and 3 deletions

View File

@ -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;