diff mbox series

testsuite: Fix typo in ext-floating19.C

Message ID 20241020114804.3053649-2-stefansf@gcc.gnu.org
State New
Headers show
Series testsuite: Fix typo in ext-floating19.C | expand

Commit Message

Stefan Schulze Frielinghaus Oct. 20, 2024, 11:48 a.m. UTC
gcc/testsuite/ChangeLog:

	* g++.dg/cpp23/ext-floating19.C: Fix typo for bfloat16 guard.
---
 Ok for mainline?

 gcc/testsuite/g++.dg/cpp23/ext-floating19.C | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jason Merrill Oct. 22, 2024, 2:54 a.m. UTC | #1
On 10/20/24 7:48 AM, Stefan Schulze Frielinghaus wrote:
> gcc/testsuite/ChangeLog:
> 
> 	* g++.dg/cpp23/ext-floating19.C: Fix typo for bfloat16 guard.
> ---
>   Ok for mainline?

OK, thanks (and qualifies as obvious).

>   gcc/testsuite/g++.dg/cpp23/ext-floating19.C | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/gcc/testsuite/g++.dg/cpp23/ext-floating19.C b/gcc/testsuite/g++.dg/cpp23/ext-floating19.C
> index dfbedb98699..a79f7d6e202 100644
> --- a/gcc/testsuite/g++.dg/cpp23/ext-floating19.C
> +++ b/gcc/testsuite/g++.dg/cpp23/ext-floating19.C
> @@ -15,6 +15,6 @@ auto x64 = 3.14f64;
>   #ifdef __STDCPP_FLOAT128_T__
>   auto x128 = 3.14f128;
>   #endif
> -#ifdef __STDCPP_FLOAT16_T__
> +#ifdef __STDCPP_BFLOAT16_T__
>   auto xbf = 1.2bf16;
>   #endif
diff mbox series

Patch

diff --git a/gcc/testsuite/g++.dg/cpp23/ext-floating19.C b/gcc/testsuite/g++.dg/cpp23/ext-floating19.C
index dfbedb98699..a79f7d6e202 100644
--- a/gcc/testsuite/g++.dg/cpp23/ext-floating19.C
+++ b/gcc/testsuite/g++.dg/cpp23/ext-floating19.C
@@ -15,6 +15,6 @@  auto x64 = 3.14f64;
 #ifdef __STDCPP_FLOAT128_T__
 auto x128 = 3.14f128;
 #endif
-#ifdef __STDCPP_FLOAT16_T__
+#ifdef __STDCPP_BFLOAT16_T__
 auto xbf = 1.2bf16;
 #endif