Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
g++.target
/
s390
/
pr102024-1.C
blob: a2cdd40df2afc7cbdf33d5ef55aae5fea44ecc56 [
file
] [
log
] [
blame
]
// PR target/102024
// { dg-do compile }
struct
S
{
float
a
;
int
:
0
;
};
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" }
}