libstdc++: Fix -Wsign-compare warning in std::string::resize_for_overwrite
[official-gcc.git] / gcc / testsuite / gcc.dg / bitint-22.c
blob3e0079820bab0a95aa1522fd847acd2d4ad52933
1 // PR c/102989
2 // { dg-do compile { target bitint } }
3 // { dg-options "-std=c23 -pedantic-errors" }
5 _BitInt(63) a;
6 signed _BitInt(15) b;
7 unsigned _BitInt(31) c;
8 int d = 21wb;
9 long long e = 60594869054uwb;
10 __extension__ _BitInt(63) f;
11 __extension__ _BitInt(15) g;
12 __extension__ unsigned _BitInt(31) h;
13 int i = __extension__ 21wb;
14 long long j = __extension__ 60594869054uwb;
15 #if 0wb == 0
16 #endif
17 #if 0uwb == 0
18 #endif