aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-09-01 21:19:36 +0100
committerJonathan Wakely <jwakely@redhat.com>2023-09-04 16:04:26 +0100
commitc34ad4bc1970dc168b0081edf9994d108ff0f130 (patch)
treeee3c68857a81219d5be882ed3e0b2acf94fd8433
parentfe0f9e09413047484441468b05288412760d8a09 (diff)
downloadgcc-c34ad4bc1970dc168b0081edf9994d108ff0f130.zip
gcc-c34ad4bc1970dc168b0081edf9994d108ff0f130.tar.gz
gcc-c34ad4bc1970dc168b0081edf9994d108ff0f130.tar.bz2
libstdc++: Add missing target selector to std::expected test
This test should use a target selector of c++23 so that the explicit -std=gnu++23 option can be removed, to allow testing with later standards too. libstdc++-v3/ChangeLog: * testsuite/20_util/expected/bad.cc: Add missing target selector.
-rw-r--r--libstdc++-v3/testsuite/20_util/expected/bad.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/20_util/expected/bad.cc b/libstdc++-v3/testsuite/20_util/expected/bad.cc
index 17bc6d6..e5d7ba4 100644
--- a/libstdc++-v3/testsuite/20_util/expected/bad.cc
+++ b/libstdc++-v3/testsuite/20_util/expected/bad.cc
@@ -1,5 +1,5 @@
// { dg-options "-std=gnu++23" }
-// { dg-do compile }
+// { dg-do compile { target c++23 } }
#include <expected>