Debian Codegraph @

gcc/testsuite/gcc.dg/bitint-65.c

raw
1 /* PR c/113315 */
2 /* { dg-do compile { target bitint } } */
3 /* { dg-options "-std=c23" } */
4
5 #if __BITINT_MAXWIDTH__ >= 535
6 _BitInt(535) x;
7 #else
8 _BitInt(64) x;
9 #endif
10 extern int a[];
11 extern char b[][10];
12
13 int
14 foo (void)
15 {
16 return a[x];
17 }
18
19 int
20 bar (void)
21 {
22 return __builtin_strlen (b[x]);
23 }