259cc745ce3114a5e6cb3b15d7893863208f1146
[gcc.git] / gcc / testsuite / gcc.dg / dfp / convert-bfp-13.c
1 /* Test for bug where fold changed binary operation to decimal
2 depending on typedefs. */
3
4 #include "dfp-dbg.h"
5
6 volatile double d = 1.2345675;
7
8 typedef const volatile _Decimal32 d32;
9
10 int
11 main (void)
12 {
13 _Decimal32 a = (d * d);
14 d32 b = (d * d);
15 if (a != b)
16 FAILURE
17 FINISH
18 }