libstdc++: Replace dg-options "-std=c++17" with dg-add-options strict_std
These tests can (and should) also be run for later standards, so replace the { dg-options "-std=c++17" } with { dg-add-options strict_std }. * testsuite/tr1/5_numerical_facilities/special_functions/07_conf_hyperg/compile_cxx17.cc: Replace dg-options -std=c++17 with dg-add-options strict_std. * testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/compile_cxx17.cc: Likewise.
This commit is contained in:
parent
52841fb703
commit
c4bf6e8e8a
2 changed files with 2 additions and 2 deletions
|
@ -15,8 +15,8 @@
|
|||
// with this library; see the file COPYING3. If not see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-options "-std=c++17" }
|
||||
// { dg-do compile { target c++17 } }
|
||||
// { dg-add-options strict_std }
|
||||
|
||||
#include <tr1/cmath>
|
||||
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
// with this library; see the file COPYING3. If not see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
// { dg-options "-std=c++17" }
|
||||
// { dg-do compile { target c++17 } }
|
||||
// { dg-add-options strict_std }
|
||||
|
||||
#include <tr1/cmath>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue