2 /* { dg-do compile { target bitint } } */
3 /* { dg-options "-std=c23" } */
7 #ifndef BITINT_MAXWIDTH
8 #error BITINT_MAXWIDTH not defined
9 #elif BITINT_MAXWIDTH < ULLONG_WIDTH
10 #error BITINT_MAXWIDTH smaller than ULLONG_WIDTH
13 _BitInt(BITINT_MAXWIDTH
) a
;
14 _BitInt(BITINT_MAXWIDTH
+ 1) b
; /* { dg-error "'_BitInt' argument '\[0-9]+' is larger than 'BITINT_MAXWIDTH' '\[0-9]+'" } */