gcc/libstdc++-v3/testsuite/ext/malloc_allocator
Ville Voutilainen b08c2bc7bd Make sure the return value of malloc_allocator::allocate is zero-initialized so...
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
2016-10-16 16:31:43 +03:00
..
check_allocate_max_size.cc Update copyright years. 2016-01-04 15:30:50 +01:00
check_deallocate_null.cc Update copyright years. 2016-01-04 15:30:50 +01:00
check_delete.cc Update copyright years. 2016-01-04 15:30:50 +01:00
check_new.cc Update copyright years. 2016-01-04 15:30:50 +01:00
deallocate_global.cc Update copyright years. 2016-01-04 15:30:50 +01:00
deallocate_local.cc Update copyright years. 2016-01-04 15:30:50 +01:00
explicit_instantiation.cc Update copyright years. 2016-01-04 15:30:50 +01:00
overaligned.cc PR65122 extended alignment support in allocators 2016-10-14 13:03:47 +01:00
sanity.cc Make sure the return value of malloc_allocator::allocate is zero-initialized so... 2016-10-16 16:31:43 +03:00
variadic_construct.cc 1.cc: Remove 'test' variables. 2016-10-14 13:50:24 +00:00