[gesamt] Added ag/codea/codeb testcases
[testub10.git] / gesamt / codeb_snafu_01.0
diff --git a/gesamt/codeb_snafu_01.0 b/gesamt/codeb_snafu_01.0
new file mode 100644 (file)
index 0000000..62aa2c9
--- /dev/null
@@ -0,0 +1,16 @@
+method q(x y)
+       var foo := 42;
+       return 5 - ((x - 3) - y);
+end;
+
+method r(x y)
+       var bar := x*y;
+       return (x - y) - 10;
+end;
+
+struct goo gaa gee end;
+
+method s(x y)
+       var foobar := (x.gaa * y.goo) - ((2*x) - y).gee;
+       return (x - 1);
+end;