aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr114312.c
blob: c508c64ed1991598e59ca2271af1ae5908a07e72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */
/* { dg-require-effective-target bitint } */

#if __BITINT_MAXWIDTH__ >= 129
typedef _BitInt(129) B;
B b;

B
foo(void)
{
  _BitInt(64) a = 1;
  a &= b * b;
  return b << a;
}
#endif