Debian Codegraph @

gcc/testsuite/gcc.dg/pr97317.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 /* { dg-require-effective-target int32plus } */
4
5 struct a {
6 unsigned c : 17;
7 };
8 struct a b;
9 int d(void) {
10 short e = b.c;
11 return e ? 0 : b.c;
12 }