Debian Codegraph @

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

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