1 // PR c++/86981
2 // { dg-do compile { target c++11 } }
3 // { dg-options "-Wpessimizing-move" }
4 
5 #include <string>
6 #include <tuple>
7 #include <utility>
8 
9 std::tuple<std::string, std::string>
foo()10 foo ()
11 {
12   std::pair<std::string, std::string> p;
13   return std::move (p);
14 }
15