blob: ab312b3ecfbe3ba0213b7a33695fe1dca2ec760f [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2" } */
void __assert_fail();
struct a {
int b;
int c;
int d;
int : 2;
};
int e, f;
struct a g, i;
const struct a h;
int main() {
struct a j;
g = h;
if (e)
__assert_fail();
if (f)
j = h;
i = j;
return 0;
}