Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / c23-no-dfp-1.c
blob10ed4912c099d89560fb7667083ca34d69a7270b
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" } */
6 _Decimal32 d32a; /* { dg-error "not supported" } */
7 _Decimal64 d64a; /* { dg-error "not supported" } */
8 _Decimal128 d128a; /* { dg-error "not supported" } */
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" } */