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.
This commit is contained in:
parent
fe0f9e0941
commit
c34ad4bc19
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
// { dg-options "-std=gnu++23" }
|
||||
// { dg-do compile }
|
||||
// { dg-do compile { target c++23 } }
|
||||
|
||||
#include <expected>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue