Skip to content

Commit 51163c5

Browse files
authored
[msan] Change zero_alloc.cpp testcase to use stdlib.h (#156491)
Avoid build breakage on Mac
1 parent e2a8b98 commit 51163c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/test/msan/zero_alloc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %clang_msan -Wno-alloc-size -fsanitize-recover=memory %s -o %t && not %run %t 2>&1 | FileCheck %s
22

3-
#include <malloc.h>
43
#include <stdio.h>
4+
#include <stdlib.h>
55

66
int main(int argc, char **argv) {
77
{

0 commit comments

Comments
 (0)