PR libstdc++/86676 another alignment fix for test

PR libstdc++/86676
	* testsuite/20_util/monotonic_buffer_resource/release.cc: Request
	same alignment for post-release allocation.

From-SVN: r262984
This commit is contained in:
Jonathan Wakely 2018-07-26 00:38:17 +01:00 committed by Jonathan Wakely
parent 22f31945f7
commit aea3722348
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2018-07-26 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/86676
* testsuite/20_util/monotonic_buffer_resource/release.cc: Request
same alignment for post-release allocation.
2018-07-25 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/86676

View File

@ -127,7 +127,7 @@ test04()
VERIFY( mbr.upstream_resource() == &r );
VERIFY( r.number_of_active_allocations() == 0 );
// initial buffer should be used again now:
p = mbr.allocate(1000);
p = mbr.allocate(1000, 16);
VERIFY( p == p_in_buffer );
VERIFY( r.allocate_calls == 1 );
}