gcc/testsuite/gcc.dg/fixed-point/bitint-1.c
raw| 1 | /* PR c/102989 */ |
| 2 | /* { dg-do compile { target bitint } } */ |
| 3 | /* { dg-options "-std=c23" } */ |
| 4 | |
| 5 | void |
| 6 | foo (void) |
| 7 | { |
| 8 | _Sat _BitInt (42) a; /* { dg-error "both '_Sat' and '_BitInt' in declaration specifiers" } */ |
| 9 | _BitInt (42) _Sat b; /* { dg-error "both '_Sat' and '_BitInt' in declaration specifiers" } */ |
| 10 | } |