Debian Codegraph @

gcc/testsuite/g++.target/s390/pr102024-5.C

raw
1 // PR target/102024
2 // { dg-do compile }
3
4 struct U { float a; int :0; };
5 struct T { struct U u; };
6 struct S { struct T t; };
7 void foo (struct S x);
8
9 void
10 bar (void)
11 {
12 struct S s = { { { 0.0f } } };
13 foo (s); // { dg-message "with zero-width bit fields members changed in GCC 12" }
14 }