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