Debian Codegraph @

gcc/testsuite/gcc.dg/bitint-20.c

raw
1 /* PR c/102989 */
2 /* { dg-do compile { target bitint } } */
3 /* { dg-options "-std=gnu23" } */
4
5 void
6 foo (_Complex int ci, _Complex long long cl)
7 {
8 _BitInt(__SIZEOF_INT__ * __CHAR_BIT__ + 1) bi = 0wb;
9 ci + bi; /* { dg-message "unsupported" } */
10 bi + ci; /* { dg-message "unsupported" } */
11 #if __BITINT_MAXWIDTH__ >= 575
12 _BitInt(575) bw = 0wb;
13 cl + bw; /* { dg-message "unsupported" "" { target bitint575 } } */
14 bw + cl; /* { dg-message "unsupported" "" { target bitint575 } } */
15 #endif
16 }