blob: 703195b53bcc734d6350a15f8f767bffc8a0ae6b [file] [log] [blame]
/* PR target/102024 */
/* { dg-do compile } */
struct S { float a; int : 0; float b; };
void foo (struct S x);
void
bar (void)
{
struct S s = { 0.0f, 0.0f };
foo (s); /* { dg-message "the ABI of passing C structures with zero-width bit-fields has changed in GCC 12.1" "" { target { ! ia32 } } } */
}