aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2020-07-31 17:51:00 +0100
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:20:24 -0300
commit555f1dd52550c23817a72e8180b252f4693f95fe (patch)
tree61e35e72c560fb051aedc7c253eb3fb060e57bf9
parente173f8d463b1a5d089eaad781427c814de57261d (diff)
downloadgcc-555f1dd52550c23817a72e8180b252f4693f95fe.zip
gcc-555f1dd52550c23817a72e8180b252f4693f95fe.tar.gz
gcc-555f1dd52550c23817a72e8180b252f4693f95fe.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.cc4
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>