From: Jonathan Wakely Date: Fri, 31 Jul 2020 16:51:00 +0000 (+0100) Subject: libstdc++: Remove duplicate dg-do directive X-Git-Tag: upstream/12.2.0~14494 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=351f60794c116d25a78da5220f3da74b4268cb8d;p=platform%2Fupstream%2Fgcc.git 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. --- 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 // . -// { dg-do run { target c++11 } } - // { dg-options "-std=gnu++17" } -// { dg-do compile } +// { dg-do compile { target c++17 } } #include