xref: /freebsd/contrib/bmake/unit-tests/opt-debug-for.exp (revision 148ee84570001f46b7b667c86573d378101c3801)
1956e45f6SSimon J. GerratyFor: new loop 2
2956e45f6SSimon J. GerratyFor: end for 2
3956e45f6SSimon J. GerratyFor: end for 1
4*148ee845SSimon J. GerratyFor: loop body with outer = a:
5956e45f6SSimon J. Gerraty.  for inner in 1 2
6956e45f6SSimon J. GerratyVAR.${:Ua}${inner}=	value
7956e45f6SSimon J. Gerraty.  endfor
8956e45f6SSimon J. GerratyFor: end for 1
9*148ee845SSimon J. GerratyFor: loop body with inner = 1:
10956e45f6SSimon J. GerratyVAR.${:Ua}${:U1}=	value
11*148ee845SSimon J. GerratyFor: loop body with inner = 2:
12956e45f6SSimon J. GerratyVAR.${:Ua}${:U2}=	value
13*148ee845SSimon J. GerratyFor: loop body with outer = b:
14956e45f6SSimon J. Gerraty.  for inner in 1 2
15956e45f6SSimon J. GerratyVAR.${:Ub}${inner}=	value
16956e45f6SSimon J. Gerraty.  endfor
17956e45f6SSimon J. GerratyFor: end for 1
18*148ee845SSimon J. GerratyFor: loop body with inner = 1:
19956e45f6SSimon J. GerratyVAR.${:Ub}${:U1}=	value
20*148ee845SSimon J. GerratyFor: loop body with inner = 2:
21956e45f6SSimon J. GerratyVAR.${:Ub}${:U2}=	value
22956e45f6SSimon J. Gerratyexit status 0
23