Debian Codegraph @

gcc/testsuite/g++.target/i386/pr102024.C

raw
1 // PR target/102024
2 // { dg-do compile }
3
4 struct S { float a; int : 0; float b; };
5 void foo (struct S x);
6
7 void
8 bar (void)
9 {
10 struct S s = { 0.0f, 0.0f };
11 foo (s); // { dg-bogus "the ABI of passing C structures with zero-width bit-fields has changed in GCC 12.1" }
12 }