[gesamt] Added ag/codea/codeb testcases
[testub10.git] / gesamt / codea_lewurm_14.0
diff --git a/gesamt/codea_lewurm_14.0 b/gesamt/codea_lewurm_14.0
new file mode 100644 (file)
index 0000000..83e59da
--- /dev/null
@@ -0,0 +1,21 @@
+struct foo bar end;
+
+method f1(a b)
+       return a.foo * 5;
+end;
+
+method f2(a b)
+       return b.foo - (100 - a.foo);
+end;
+
+method f3(a b)
+       return b.foo - (100 - 50 - a.foo);
+end;
+
+method f4(a b)
+       return a.foo * a.bar;
+end;
+
+method f5(a b)
+       return b.foo - (100 - a.foo - b.foo);
+end;