gcc/testsuite/gcc.dg/dfp/c11-keywords-2.c
raw| 1 | /* Test that _Decimal* keywords diagnosed in C11 mode: -pedantic-errors. */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-std=c11 -pedantic-errors" } */ |
| 4 | |
| 5 | _Decimal32 d32; /* { dg-error "ISO C does not support" } */ |
| 6 | _Decimal64 d64; /* { dg-error "ISO C does not support" } */ |
| 7 | _Decimal128 d128; /* { dg-error "ISO C does not support" } */ |