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

unsigned x;

#if __BITINT_MAXWIDTH__ >= 191
void
foo (void)
{
  unsigned _BitInt(191) b = x;
  ~(b >> x) % 3;
}
#endif