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