This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[v3] remove dup include in testcase
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: "libstdc++" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 6 Nov 2012 23:07:34 +0000
- Subject: [v3] remove dup include in testcase
* testsuite/20_util/shared_ptr/cons/55123.cc: Remove duplicate
include.
Committed to trunk and 4.7
--- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/55123.cc
+++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/55123.cc
@@ -22,8 +22,6 @@
// libstdc++/55123
-#include <memory>
-
void f() {
std::unique_ptr<const int> y;
std::shared_ptr<const int> x = std::move(y);