diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2016-03-22 14:59:46 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2016-03-22 14:59:46 +0000 |
commit | 013ac890c0d5eeeb1740a79932555286bb45fc00 (patch) | |
tree | 55ef9b5af1a1c10457d2b7ac2f47d35bbc5c98e1 /test | |
parent | 0cd4db6dd4b255f8821cfc1239fbe9fa270a1386 (diff) |
[tsan] Change nullptr to NULL in one Darwin test.
Depending on the version of libcxx, nullptr might not be available. Let's use NULL instead.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@264058 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/tsan/Darwin/gcd-groups-stress.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tsan/Darwin/gcd-groups-stress.mm b/test/tsan/Darwin/gcd-groups-stress.mm index 62a80085e..9ed85bdfe 100644 --- a/test/tsan/Darwin/gcd-groups-stress.mm +++ b/test/tsan/Darwin/gcd-groups-stress.mm @@ -30,7 +30,7 @@ int main() { dispatch_async(q, ^{ dispatch_group_leave(g); }); - dispatch_group_notify_f(g, q, nullptr, ¬ify_callback); + dispatch_group_notify_f(g, q, NULL, ¬ify_callback); dispatch_release(g); } |