* testsuite/23_containers/map/77334.cc: Use dg-options for C++11.

From-SVN: r239703
This commit is contained in:
Jonathan Wakely 2016-08-23 15:23:40 +01:00 committed by Jonathan Wakely
parent bbe31563e5
commit 2620360b5d
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2016-08-23 Jonathan Wakely <jwakely@redhat.com>
* testsuite/23_containers/map/77334.cc: Use dg-options for C++11.
PR libstdc++/77334
* include/bits/stl_tree.h (_Rb_tree::_M_move_assign): New functions.
(_Rb_tree::operator=(_Rb_tree&&)): Dispatch to _M_move_assign.

View File

@ -15,7 +15,8 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
// { dg-do compile { target c++11 } }
// { dg-options "-std=gnu++11" }
// { dg-do compile }
#include <map>