Allow std::pair test to run in C++11 mode too

* testsuite/20_util/pair/astuple/get_neg.cc: Use effective-target
	c++11 instead of setting -std=gnu++14.

From-SVN: r238925
This commit is contained in:
Jonathan Wakely 2016-07-31 19:12:28 +01:00 committed by Jonathan Wakely
parent 3c040fa4a2
commit 77f3d97909
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2016-07-31 Jonathan Wakely <jwakely@redhat.com> 2016-07-31 Jonathan Wakely <jwakely@redhat.com>
* testsuite/20_util/pair/astuple/get_neg.cc: Use effective-target
c++11 instead of setting -std=gnu++14.
PR libstdc++/72745 PR libstdc++/72745
* include/std/array (get): Use positive message for static assertions. * include/std/array (get): Use positive message for static assertions.
* include/std/functional (_Safe_tuple_element_t): Fix indentation. * include/std/functional (_Safe_tuple_element_t): Fix indentation.

View File

@ -1,5 +1,4 @@
// { dg-do compile } // { dg-do compile { target c++11 } }
// { dg-options "-std=gnu++14" }
// Copyright (C) 2013-2016 Free Software Foundation, Inc. // Copyright (C) 2013-2016 Free Software Foundation, Inc.
// //