aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-10-29 21:34:16 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-10-29 21:34:54 +0100
commitd27febaf000d109a2661048302d85f74cdb6b5f2 (patch)
treec8f245492bb0c39d42fad3b72bedf84dd2a99a3f /libstdc++-v3
parent7883a7f07c1ad9c8aaccc5bbd96e0ae1fa230c89 (diff)
downloadgcc-d27febaf000d109a2661048302d85f74cdb6b5f2.zip
gcc-d27febaf000d109a2661048302d85f74cdb6b5f2.tar.gz
gcc-d27febaf000d109a2661048302d85f74cdb6b5f2.tar.bz2
libstdc++: Fix typo in std::stack test
libstdc++-v3/ChangeLog: * testsuite/23_containers/stack/deduction.cc: Fix typo.
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/testsuite/23_containers/stack/deduction.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/23_containers/stack/deduction.cc b/libstdc++-v3/testsuite/23_containers/stack/deduction.cc
index dea7ba0..0ac3737 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