c++: Fix ICE with #embed/RAW_DATA_CST after list conversion [PR118671]
[official-gcc.git] / gcc / testsuite / gcc.dg / dfp / pr70052.c
blob53eb0757a81324bd1d300d625c5af527a5a11247
1 /* { dg-do compile } */
2 /* { dg-options "-O1" } */
4 typedef struct
6 _Decimal128 td0;
7 _Decimal128 td1;
8 } TDx2_t;
11 TDx2_t
12 D256_add_finite (void)
14 _Decimal128 z, zz;
15 TDx2_t result = {0.DL, 0.DL};
17 if (zz == 0.DL)
19 result.td0 = z;
20 return result;
23 return result;