[PATCH 2/2] libstdc++: mark 20_util/scoped_allocator/noexcept.cc R-E-T hosted

Jonathan Wakely jwakely@redhat.com
Thu Nov 9 19:34:34 GMT 2023


On Thu, 9 Nov 2023 at 19:32, Arsen Arsenović <arsen@aarsen.me> wrote:
>
> libstdc++-v3/ChangeLog:
>
>         * testsuite/20_util/scoped_allocator/noexcept.cc: Mark as
>         requiring hosted.

OK for trunk, thanks.

The test has been backported, but we don't have the hosted et there so
this isn't needed on the branches.

> ---
>  libstdc++-v3/testsuite/20_util/scoped_allocator/noexcept.cc | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/libstdc++-v3/testsuite/20_util/scoped_allocator/noexcept.cc b/libstdc++-v3/testsuite/20_util/scoped_allocator/noexcept.cc
> index 16992968d3b9..f14eff2c46f5 100644
> --- a/libstdc++-v3/testsuite/20_util/scoped_allocator/noexcept.cc
> +++ b/libstdc++-v3/testsuite/20_util/scoped_allocator/noexcept.cc
> @@ -1,4 +1,5 @@
>  // { dg-do compile { target c++11 } }
> +// { dg-require-effective-target hosted }
>
>  #include <scoped_allocator>
>
> --
> 2.42.1
>



More information about the Libstdc++ mailing list