blob: 14147638668c1362ab2926b53bd4bb4fbdf5b9bf [file] [log] [blame]
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;
}