rt_gccstream/gcc/testsuite/gcc.c-torture/compile/950221-1.c

17 lines
196 B
C

short v = -1;
typedef struct
{
short network;
} atype;
void f ()
{
static atype config;
atype *cp;
short net;
cp = &config;
cp->network = (v == -1) ? 100 : v;
net = cp->network;
}