Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / bitint-8.c
blobc18fd6b63abec84f9b6a1a67a88a807be3c1f031
1 /* PR c/102989 */
2 /* { dg-do compile { target bitint } } */
3 /* { dg-options "-O2 -std=c23 -Wno-uninitialized" } */
5 #if __BITINT_MAXWIDTH__ >= 135
6 _BitInt(135)
7 foo (void)
9 _BitInt(135) d;
10 _BitInt(135) e = d + 2wb;
11 return e;
13 #endif
15 #if __BITINT_MAXWIDTH__ >= 575
16 _BitInt(575)
17 bar (void)
19 _BitInt(575) d;
20 _BitInt(575) e = d * 42wb;
21 return e;
24 _BitInt(575)
25 baz (int x)
27 _BitInt(575) d;
28 if (x)
29 return 59843758943759843574wb;
30 return d;
32 #endif
34 int x;