| 1 |
/* Test DFP types and constants rejected if no DFP support. Bug |
| 2 |
91985. */ |
| 3 |
/* { dg-do compile { target { ! dfp } } } */ |
| 4 |
/* { dg-options "-std=c23" } */ |
| 5 |
|
| 6 |
_Decimal32 d32a; /* { dg-error "not supported" } */ |
| 7 |
_Decimal64 d64a; /* { dg-error "not supported" } */ |
| 8 |
_Decimal128 d128a; /* { dg-error "not supported" } */ |
| 9 |
|
| 10 |
_Bool d32b = 1.0DF; /* { dg-error "not supported" } */ |
| 11 |
_Bool d64b = 1.0DD; /* { dg-error "not supported" } */ |
| 12 |
_Bool d128b = 1.0DL; /* { dg-error "not supported" } */ |