2
EXECNOW: make -s tests/scope/zones.opt
3
CMD: tests/scope/zones.opt
4
OPT: -val -journal-disable
7
/* bin/viewer.opt -val tests/scope/zones.c */
10
struct Tstr { int a; int b; } S;
13
int simple (int x, int y, int z) {
14
y = 3; //no need for y before
20
int array1 (int x, int y) {
26
int struct1 (int x, int y) {
28
s = S; // lose precision : even if we need s.b after, we need S before
34
int ctrl1 (int x, int y, int z) {
38
goto Lt2; // to keep Lt2
47
//================================================================
51
int f (int x, int y, int z) {
57
int g (int a, int b, int c) {
63
int caller (int cond, int t, int u, int v) {
64
int x1 = 0, y1 = 0, z1 = 0, a1 = 0, b1 = 0, c1 = 0;
65
int (*pf)(int, int) = cond ? &f : &g;
68
return (*pf)(t, u, v);
70
//================================================================
72
int main (int x, int y, int z) {