Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr90733.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
/* PR debug/90733 */ /* { dg-do compile } */ /* { dg-options "-g -O2 -w" } */ struct S { unsigned a : 1; }; union U { struct S b; _Complex unsigned c; }; union U foo (union U d) { union U e = d; return e; } int bar (void) { union U x, y; x.c = x.b.a; y = foo (x); return x.c != y.c; }