diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-07-31 17:51:00 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-07-31 17:51:00 +0100 |
commit | 351f60794c116d25a78da5220f3da74b4268cb8d (patch) | |
tree | 8d95cd2ddfadbe65b3b7864a6d6a45a6421e3075 | |
parent | 844fa2de7b4d6d3b058dd9492c0a62e72e759979 (diff) | |
download | gcc-351f60794c116d25a78da5220f3da74b4268cb8d.zip gcc-351f60794c116d25a78da5220f3da74b4268cb8d.tar.gz gcc-351f60794c116d25a78da5220f3da74b4268cb8d.tar.bz2 |
libstdc++: Remove duplicate dg-do directive
Also add an effective target to clarify it should only run for C++17 and
later.
libstdc++-v3/ChangeLog:
* testsuite/20_util/time_point_cast/rounding.cc: Remove
duplicate dg-do directive and add c++17 effective target.
-rw-r--r-- | libstdc++-v3/testsuite/20_util/time_point_cast/rounding.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libstdc++-v3/testsuite/20_util/time_point_cast/rounding.cc b/libstdc++-v3/testsuite/20_util/time_point_cast/rounding.cc index 7cf4931..9918b83 100644 --- a/libstdc++-v3/testsuite/20_util/time_point_cast/rounding.cc +++ b/libstdc++-v3/testsuite/20_util/time_point_cast/rounding.cc @@ -15,10 +15,8 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. -// { dg-do run { target c++11 } } - // { dg-options "-std=gnu++17" } -// { dg-do compile } +// { dg-do compile { target c++17 } } #include <chrono> |