aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/bitint-6.c
blob: ad32ea4eb8450299283f38ee8a943ec738579e69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR c/102989 */
/* { dg-do compile { target bitint } } */
/* { dg-options "-std=c23 -pedantic-errors" } */

int *q, *r, *s;

void
foo (int *p)
{
  p[4wb] = 0;
  6wb[p] = 0;
  q = p + 8wb;
  r = 10uwb + q;
  s = r - 2wb;
}