OSDN Git Service

Fix misapplied patch.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / 950221-1.c
1 short v = -1;
2
3 typedef struct
4 {
5   short network;
6 } atype;
7
8 void f ()
9 {
10   static atype config;
11   atype *cp;
12   short net;
13   cp = &config;
14   cp->network = (v == -1) ? 100 : v;
15   net = cp->network;
16 }