2 /* { dg-do compile { target bitint } } */
3 /* { dg-options "-std=c23 -pedantic-errors" } */
8 #if __BITINT_MAXWIDTH__ >= 128
9 unsigned _BitInt(128) b
, c
;
11 #if __BITINT_MAXWIDTH__ >= 575
12 signed _BitInt(575) d
, e
;
22 if (va_arg (ap
, _BitInt(2)) != 1wb
)
24 if (va_arg (ap
, _BitInt(3)) != 3wb
)
26 if (va_arg (ap
, _BitInt(15)) != 16383wb
)
28 if (va_arg (ap
, unsigned _BitInt(32)) != 4294967295uwb
)
30 if (va_arg (ap
, _BitInt(64)) != 0x7fffffffffffffffwb
)
33 #if __BITINT_MAXWIDTH__ >= 128
34 b
= va_arg (ap
, unsigned _BitInt(128));
36 #if __BITINT_MAXWIDTH__ >= 575
37 d
= va_arg (ap
, _BitInt(575));
39 if (va_arg (ap
, int) != 42)
47 foo (1, 1wb
, 3wb
, 16383wb
, 4294967295uwb
, 9223372036854775807wb
,
48 #if __BITINT_MAXWIDTH__ >= 128
51 #if __BITINT_MAXWIDTH__ >= 575
56 #if __BITINT_MAXWIDTH__ >= 128
59 #if __BITINT_MAXWIDTH__ >= 575