[committed] libstdc++: Fix typo in std::stack test

Message ID 20211029203641.1262511-1-jwakely@redhat.com
State Committed
Commit d27febaf000d109a2661048302d85f74cdb6b5f2
Headers
Series [committed] libstdc++: Fix typo in std::stack test |

Commit Message

Jonathan Wakely Oct. 29, 2021, 8:36 p.m. UTC
  Tested x86_64-linux, committed to trunk.

libstdc++-v3/ChangeLog:

	* testsuite/23_containers/stack/deduction.cc: Fix typo.
---
 libstdc++-v3/testsuite/23_containers/stack/deduction.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

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