summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2016-03-22 14:59:46 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2016-03-22 14:59:46 +0000
commit013ac890c0d5eeeb1740a79932555286bb45fc00 (patch)
tree55ef9b5af1a1c10457d2b7ac2f47d35bbc5c98e1 /test
parent0cd4db6dd4b255f8821cfc1239fbe9fa270a1386 (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.mm2
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, &notify_callback);
+ dispatch_group_notify_f(g, q, NULL, &notify_callback);
dispatch_release(g);
}