gcc/testsuite/gcc.dg/dfp/c23-keywords-2.c
raw| 1 | /* Test that _Decimal* keywords are accepted in C23 mode: compat warnings. */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-std=c23 -Wc11-c23-compat" } */ |
| 4 | |
| 5 | _Decimal32 d32; /* { dg-warning "ISO C does not support" } */ |
| 6 | _Decimal64 d64; /* { dg-warning "ISO C does not support" } */ |
| 7 | _Decimal128 d128; /* { dg-warning "ISO C does not support" } */ |