modula2: M2MetaError.{def,mod} and P2SymBuild.mod further cleanup
[official-gcc.git] / gcc / testsuite / gcc.dg / bitint-53.c
blob2474660c4aa779ba7e1580c24f11ec555a3f8a33
1 /* PR tree-optimization/112940 */
2 /* { dg-do compile { target bitint } } */
3 /* { dg-options "-std=c23 -O2" } */
5 #if __BITINT_MAXWIDTH__ >= 1025
6 _BitInt (1025) b;
7 #endif
9 void
10 foo (long x)
12 #if __BITINT_MAXWIDTH__ >= 1025
13 b += (unsigned _BitInt (255)) x;
14 #else
15 (void) x;
16 #endif