On Wed, May 21, 2025 at 07:34:27PM +0200, Stefan Schulze Frielinghaus wrote:
> libstdc++-v3/ChangeLog:
> 
>       * testsuite/std/format/parse_ctx.cc: Fix typo for bfloat16 guard.
> ---
>  Ok for mainline?

Just realized that I can use my super powers ;-) and pushed as obvious
in commit 08b4f6198de9c13a8d31580dde052006d2081e52.

> 
>  libstdc++-v3/testsuite/std/format/parse_ctx.cc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libstdc++-v3/testsuite/std/format/parse_ctx.cc 
> b/libstdc++-v3/testsuite/std/format/parse_ctx.cc
> index adafc58c183..6294dcf43f5 100644
> --- a/libstdc++-v3/testsuite/std/format/parse_ctx.cc
> +++ b/libstdc++-v3/testsuite/std/format/parse_ctx.cc
> @@ -539,7 +539,7 @@ test_dynamic_type_check()
>    (void) std::format("{:str}", X{}, "H2G2");
>    (void) std::format("{:float}", X{}, 10.0);
>  
> -#ifdef __STDCPP_FLOAT16_T__
> +#ifdef __STDCPP_BFLOAT16_T__
>    if constexpr (std::formattable<std::bfloat16_t, char>)
>      (void) std::format("{:other}", X{}, 10.0bf16);
>  #endif
> -- 
> 2.49.0
> 

Reply via email to