2 * demonstrates an incorrect "loopreverse"
3 * note func0, is a kind of safeguard, the incorrect code
4 * will access indices 0 and 1 instead of 1 and 2,
5 * and with incorrect order
12 void func0() { glbl
= 0; }
13 void func1() { glbl
= 1; }
14 void func2() { glbl
= 2; }
16 typedef void (*fptr
)();
18 fptr ep_init
[3] = { func0
, func1
, func2
};
23 for(i
= 1; i
<= 2; i
++)