2 string ftos(float) = #2;
8 float side_effect_1(float r) {
13 float side_effect_2(float r) {
18 float side_effect_3(float r) {
28 if (side_effect_1(0) || side_effect_2(1))
29 print(ftos(glob1), "=13 ", ftos(glob2), "=23 OK\n");
33 if (side_effect_3(1) || side_effect_1(1))
34 print(ftos(glob1), "=13 ", ftos(glob3), "=33 OK\n");
38 if (side_effect_1(0) && side_effect_3(1))
41 print(ftos(glob1), "=16 ", ftos(glob3), "=33 OK\n");
43 if (side_effect_2(1) && side_effect_3(1))
44 print(ftos(glob2), "=26 ", ftos(glob3), "=36 OK\n");
48 print(ftos(glob1), "=16 ", ftos(glob2), "=26 ", ftos(glob3), "=36 OK\n");