[PR target/115123] Fix testsuite fallout from sinking heuristic change
[official-gcc.git] / gcc / testsuite / gcc.dg / dfp / c11-keywords-2.c
blob7c7f3d9b4b11ed9d2fec916b025667ae3a2444b5
1 /* Test that _Decimal* keywords diagnosed in C11 mode: -pedantic-errors. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c11 -pedantic-errors" } */
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" } */