https://gcc.gnu.org/g:08b4f6198de9c13a8d31580dde052006d2081e52

commit r16-842-g08b4f6198de9c13a8d31580dde052006d2081e52
Author: Stefan Schulze Frielinghaus <stefa...@gcc.gnu.org>
Date:   Fri May 23 16:53:22 2025 +0200

    testsuite: Fix typo in parse_ctx.cc
    
    libstdc++-v3/ChangeLog:
    
            * testsuite/std/format/parse_ctx.cc: Fix typo for bfloat16 guard.

Diff:
---
 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 adafc58c1833..6294dcf43f5d 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

Reply via email to