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

#if __BITINT_MAXWIDTH__ >= 905
void bar (_BitInt(905) n, int[n]);
#else
void bar (int n, int[n]);
#endif

void
foo (int n)
{
  int buf[n];
  bar (n, buf);
}