]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Fix typo in std::stack test
authorJonathan Wakely <jwakely@redhat.com>
Fri, 29 Oct 2021 20:34:16 +0000 (21:34 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 29 Oct 2021 20:34:54 +0000 (21:34 +0100)
libstdc++-v3/ChangeLog:

* testsuite/23_containers/stack/deduction.cc: Fix typo.

libstdc++-v3/testsuite/23_containers/stack/deduction.cc

index dea7ba060d92cdcfe9b23069b1a7a97ca33f7b98..0ac3737021b42ab126c7252c07fc32933102b236 100644 (file)
@@ -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