| 1 |
/* Test C23 built-in functions: test DFP built-in functions are not |
| 2 |
available when no DFP support. Bug 91985. */ |
| 3 |
/* { dg-do compile { target { ! dfp } } } */ |
| 4 |
/* { dg-options "-std=gnu23" } */ |
| 5 |
|
| 6 |
int fabsd32 (void); |
| 7 |
int fabsd64 (void); |
| 8 |
int fabsd128 (void); |
| 9 |
int nand32 (void); |
| 10 |
int nand64 (void); |
| 11 |
int nand128 (void); |
| 12 |
|
| 13 |
__typeof__ (__builtin_fabsd32 (0)) d32; /* { dg-error "implicit" } */ |
| 14 |
__typeof__ (__builtin_fabsd64 (0)) d64; /* { dg-error "implicit" } */ |
| 15 |
__typeof__ (__builtin_fabsd128 (0)) d128; /* { dg-error "implicit" } */ |
| 16 |
__typeof__ (__builtin_nand32 (0)) d32n; /* { dg-error "implicit" } */ |
| 17 |
__typeof__ (__builtin_nand64 (0)) d64n; /* { dg-error "implicit" } */ |
| 18 |
__typeof__ (__builtin_nand128 (0)) d128n; /* { dg-error "implicit" } */ |