]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* testsuite/23_containers/map/77334.cc: Use dg-options for C++11.
authorJonathan Wakely <jwakely@redhat.com>
Tue, 23 Aug 2016 14:23:40 +0000 (15:23 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 23 Aug 2016 14:23:40 +0000 (15:23 +0100)
From-SVN: r239703

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/23_containers/map/77334.cc

index 68c28ab6f103f71760cc8027aaecaf0448f27bbd..42a8716b687072abd18d69d00440846d34a49f54 100644 (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.
index 917896bed2bb994006a40138bc92e08397516270..14dfb2b471924619bcd8783ca525cca777650d54 100644 (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>