[gcc r12-4794] libstdc++: Fix typo in std::stack test
Jonathan Wakely
redi@gcc.gnu.org
Fri Oct 29 20:35:15 GMT 2021
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
More information about the Libstdc++-cvs
mailing list