]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Fix typo in parse_ctx.cc
authorStefan Schulze Frielinghaus <stefansf@gcc.gnu.org>
Fri, 23 May 2025 14:53:22 +0000 (16:53 +0200)
committerStefan Schulze Frielinghaus <stefansf@gcc.gnu.org>
Fri, 23 May 2025 14:53:22 +0000 (16:53 +0200)
libstdc++-v3/ChangeLog:

* testsuite/std/format/parse_ctx.cc: Fix typo for bfloat16 guard.

libstdc++-v3/testsuite/std/format/parse_ctx.cc

index adafc58c1833df4411dced4719176bc94e4bf3fe..6294dcf43f5d7861323bdbd4ad0df3ad5acfc822 100644 (file)
@@ -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