diff options
author | David Edelsohn <dje.gcc@gmail.com> | 2020-06-29 20:41:55 -0400 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 13:15:29 -0300 |
commit | eef92510cd82e5ad2811554d4e96140b30b61567 (patch) | |
tree | b879cf1307bdfcbf92c006e38c9fac6f62446271 /gcc/fortran/expr.c | |
parent | e5d43111f025486d1487532ea240c55c5a4dd129 (diff) | |
download | gcc-eef92510cd82e5ad2811554d4e96140b30b61567.zip gcc-eef92510cd82e5ad2811554d4e96140b30b61567.tar.gz gcc-eef92510cd82e5ad2811554d4e96140b30b61567.tar.bz2 |
testsuite: fix constexpr-is_literal.C deprecated c++17 and above.
std::is_literal_type is deprecated in C++17 and above.
This was introduced in c++11, but the testsuite list of standards now only
includes c++98 and c++14. This patch limits the test to c++14_only to
prevent deprecation warnings.
gcc/testsuite/ChangeLog
2020-06-30 David Edelsohn <dje.gcc@gmail.com>
* g++.dg/cpp0x/constexpr-is_literal.C: Limit test to -std=c++14.
Diffstat (limited to 'gcc/fortran/expr.c')
0 files changed, 0 insertions, 0 deletions