70564 fix newly-added tests for not_fn
PR libstdc++/70564 * testsuite/20_util/not_fn/1.cc: Fix test. * testsuite/experimental/functional/not_fn.cc: Likewise. From-SVN: r240784
This commit is contained in:
parent
67ef83c61f
commit
aaae096a1a
@ -1,5 +1,9 @@
|
||||
2016-10-05 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/70564
|
||||
* testsuite/20_util/not_fn/1.cc: Fix test.
|
||||
* testsuite/experimental/functional/not_fn.cc: Likewise.
|
||||
|
||||
PR libstdc++/70101
|
||||
* include/bits/stl_queue.h (priority_queue): Fix allocator-extended
|
||||
constructors.
|
||||
|
@ -87,7 +87,8 @@ test04()
|
||||
void
|
||||
test05()
|
||||
{
|
||||
auto nf{ std::not_fn([] { return false; }) };
|
||||
auto nf = std::not_fn([] { return false; });
|
||||
auto copy(nf); // PR libstdc++/70564
|
||||
}
|
||||
|
||||
int
|
||||
|
@ -87,7 +87,8 @@ test04()
|
||||
void
|
||||
test05()
|
||||
{
|
||||
auto nf{ not_fn([] { return false; }) };
|
||||
auto nf = std::experimental::not_fn([] { return false; });
|
||||
auto copy(nf); // PR libstdc++/70564
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user