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