libstdc++-v3/ChangeLog:
* testsuite/std/format/parse_ctx.cc: Fix typo for bfloat16 guard.
---
Ok for mainline?
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