forked from OSchip/llvm-project
parent
5f7efefe66
commit
3feb458a56
|
@ -1,5 +1,5 @@
|
||||||
// Test the behavior of malloc/calloc/realloc when the allocation size is huge.
|
// Test the behavior of malloc/calloc/realloc when the allocation size is huge.
|
||||||
// By default (allocator_may_return_null=0) the process shoudl crash.
|
// By default (allocator_may_return_null=0) the process should crash.
|
||||||
// With allocator_may_return_null=1 the allocator should return 0.
|
// With allocator_may_return_null=1 the allocator should return 0.
|
||||||
//
|
//
|
||||||
// RUN: %clangxx_asan -O0 %s -o %t
|
// RUN: %clangxx_asan -O0 %s -o %t
|
||||||
|
|
Loading…
Reference in New Issue