aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/bitint-83.c
blob: 96d3f713e889362e13079f886da23e2591ee6e39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* PR tree-optimization/113691 */
/* { dg-do compile { target bitint } } */
/* { dg-options "-O2 -std=gnu11 -w" } */

#if __BITINT_MAXWIDTH__ >= 944
_BitInt (944) i;
#else
_BitInt (63) i;
#endif

void foo ();

void
bar ()
{
  foo (i);
}

void
foo (int *p)
{
  *p = 0;
}