aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/bitint-101.c
blob: f6ff524e722dedaddd36b411a78404381112afdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* PR tree-optimization/114329 */
/* { dg-do compile { target bitint } } */
/* { dg-options "-std=c23" } */

#if __BITINT_MAXWIDTH__ >= 129
#define N 129
#else
#define N 63
#endif

struct S { _BitInt(N) b : N; } s;

void
foo (void)
{
  s.b ^= 42;
}