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

int j, k;
#if __BITINT_MAXWIDTH__ >= 162
struct S { _BitInt(162) n; };
void bar (_BitInt(162) x);

void
foo (struct S s)
{
  bar (s.n * j);
  (void) (s.n * k);
}
#endif