Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
compiler-rt
/
4d7297daef90ad59446250617b72d184141436fc
/
.
/
lib
/
asan
/
lit_tests
/
TestCases
/
assign_large_valloc_to_global.cc
blob: e5b2e661eca6364b273c9863486f4fd7227dba48 [
file
] [
log
] [
blame
]
// Make sure we don't report a leak nor hang.
// RUN: %clangxx_asan -O3 %s -o %t && %t
#include
<stdlib.h>
#include
<malloc.h>
int
*
p
=
(
int
*)
valloc
(
1
<<
20
);
int
main
()
{
}