]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Simplify dejagnu target selector
authorJonathan Wakely <jwakely@redhat.com>
Thu, 7 Sep 2023 13:20:56 +0000 (14:20 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 7 Sep 2023 16:05:54 +0000 (17:05 +0100)
A target selector allows multiple target triplets, it's not necessary to
use the || operator in a logical expression.

libstdc++-v3/ChangeLog:

* testsuite/27_io/filesystem/path/concat/94063.cc: Simplify
dg-do target selector.

libstdc++-v3/testsuite/27_io/filesystem/path/concat/94063.cc

index 50f34860550f1591440113a0b3144d6727c68a2c..a6894fc0254831479f8c87ebbdcf0cf3f8e16ea7 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-do run { target { *-*-*mingw* || *-*-cygwin } } }
+// { dg-do run { target { *-*-*mingw* *-*-cygwin } } }
 // { dg-require-effective-target c++17 }
 
 #include <filesystem>