public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-4794] libstdc++: Fix typo in std::stack test
@ 2021-10-29 20:35 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2021-10-29 20:35 UTC (permalink / raw)
To: gcc-cvs, libstdc++-cvs
https://gcc.gnu.org/g:d27febaf000d109a2661048302d85f74cdb6b5f2
commit r12-4794-gd27febaf000d109a2661048302d85f74cdb6b5f2
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Fri Oct 29 21:34:16 2021 +0100
libstdc++: Fix typo in std::stack test
libstdc++-v3/ChangeLog:
* testsuite/23_containers/stack/deduction.cc: Fix typo.
Diff:
---
libstdc++-v3/testsuite/23_containers/stack/deduction.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libstdc++-v3/testsuite/23_containers/stack/deduction.cc b/libstdc++-v3/testsuite/23_containers/stack/deduction.cc
index dea7ba060d9..0ac3737021b 100644
--- a/libstdc++-v3/testsuite/23_containers/stack/deduction.cc
+++ b/libstdc++-v3/testsuite/23_containers/stack/deduction.cc
@@ -98,6 +98,6 @@ test03()
check_type<std::stack<long>>(s1);
std::stack s2(l.begin(), l.end(), std::allocator<long>());
- check_type<std::stack<long>>(s1);
+ check_type<std::stack<long>>(s2);
}
#endif
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-29 20:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-29 20:35 [gcc r12-4794] libstdc++: Fix typo in std::stack test Jonathan Wakely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).