libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / bitint-65.c
blobf0b952047e87ab451ce5d3e47572a2942f37f1eb
1 /* PR c/113315 */
2 /* { dg-do compile { target bitint } } */
3 /* { dg-options "-std=c23" } */
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];
13 int
14 foo (void)
16 return a[x];
19 int
20 bar (void)
22 return __builtin_strlen (b[x]);