codeb (too) complex ifs and whiles
[testub10.git] / codeb / intelli_14.0
diff --git a/codeb/intelli_14.0 b/codeb/intelli_14.0
new file mode 100644 (file)
index 0000000..b1b91cc
--- /dev/null
@@ -0,0 +1,16 @@
+struct x end;
+
+method m(s)
+       var i := 0;
+       var sum := 0;
+       while i < s do
+               (this - (-8 * i)).x := (this - (-8 * i)).x * 10;
+               if (this - (-8 * i)).x = 47110 then
+                       (this - (-8 * i)).x := 0815;
+               end;
+               sum := sum - ((this - (-8 * i)).x * -1);
+               i := i - (-1);
+       end;
+       return sum;
+end;
+