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:
Jonathan Wakely 2023-09-01 21:19:36 +01:00
parent fe0f9e0941
commit c34ad4bc19

View file

@ -1,5 +1,5 @@
// { dg-options "-std=gnu++23" }
// { dg-do compile }
// { dg-do compile { target c++23 } }
#include <expected>