Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / bitint-4.c
blobbadf6029b742208146ac627f172ddb7e6a66dbec
1 /* PR c/102989 */
2 /* { dg-do compile { target bitint } } */
3 /* { dg-options "-std=c23 -pedantic-errors" } */
5 _BitInt(2)
6 foo (_BitInt(2) x, _BitInt(15) y)
8 return x + y;
11 _BitInt(64)
12 bar (_BitInt(64) x, _BitInt(64) y)
14 return x + y;
17 #if __BITINT_MAXWIDTH__ >= 128
18 _BitInt(128) a, b, c;
20 _BitInt(128)
21 baz (_BitInt(128) x, _BitInt(128) y)
23 a = x;
24 b = y;
25 return c;
27 #endif
29 #if __BITINT_MAXWIDTH__ >= 575
30 _BitInt(575) d, e, f;
32 _BitInt(575)
33 qux (_BitInt(575) x, _BitInt(575) y)
35 d = x;
36 e = y;
37 return f;
39 #endif