forked from OSchip/llvm-project
[tsan] Change nullptr to NULL in realloc-zero.cc test. Some environments don't have nullptr.
llvm-svn: 286166
This commit is contained in:
parent
4aeb080db3
commit
c784b36fca
|
@ -9,7 +9,7 @@
|
|||
#include <sys/mman.h>
|
||||
|
||||
int main() {
|
||||
void *p = realloc(nullptr, 0);
|
||||
void *p = realloc(NULL, 0);
|
||||
if (!p) {
|
||||
abort();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue