]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/c2x-no-dfp-1.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / c2x-no-dfp-1.c
1 /* Test DFP types and constants rejected if no DFP support. Bug
2 91985. */
3 /* { dg-do compile { target { ! dfp } } } */
4 /* { dg-options "-std=c2x" } */
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" } */