From c784b36fca7bf7e415b4f05a83a49915ae766b7d Mon Sep 17 00:00:00 2001 From: Kuba Brecka Date: Mon, 7 Nov 2016 22:26:13 +0000 Subject: [PATCH] [tsan] Change nullptr to NULL in realloc-zero.cc test. Some environments don't have nullptr. llvm-svn: 286166 --- compiler-rt/test/tsan/Darwin/realloc-zero.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/test/tsan/Darwin/realloc-zero.cc b/compiler-rt/test/tsan/Darwin/realloc-zero.cc index c5053c3..9826246 100644 --- a/compiler-rt/test/tsan/Darwin/realloc-zero.cc +++ b/compiler-rt/test/tsan/Darwin/realloc-zero.cc @@ -9,7 +9,7 @@ #include int main() { - void *p = realloc(nullptr, 0); + void *p = realloc(NULL, 0); if (!p) { abort(); } -- 2.7.4