mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-29 14:05:44 +08:00
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:
parent
3c040fa4a2
commit
77f3d97909
@ -1,5 +1,8 @@
|
||||
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
|
||||
* include/std/array (get): Use positive message for static assertions.
|
||||
* include/std/functional (_Safe_tuple_element_t): Fix indentation.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// { dg-do compile }
|
||||
// { dg-options "-std=gnu++14" }
|
||||
// { dg-do compile { target c++11 } }
|
||||
|
||||
// Copyright (C) 2013-2016 Free Software Foundation, Inc.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user