mirror of git://gcc.gnu.org/git/gcc.git
Make sure the return value of malloc_allocator::allocate is zero-initialized so that checking it for non-zero works later. * include/ext/malloc_allocator.h (malloc_allocator::allocate): Initialize the return value. * testsuite/ext/malloc_allocator/sanity.cc: New. From-SVN: r241212 |
||
|---|---|---|
| .. | ||
| check_allocate_max_size.cc | ||
| check_deallocate_null.cc | ||
| check_delete.cc | ||
| check_new.cc | ||
| deallocate_global.cc | ||
| deallocate_local.cc | ||
| explicit_instantiation.cc | ||
| overaligned.cc | ||
| sanity.cc | ||
| variadic_construct.cc | ||