[gesamt] Added ag/codea/codeb testcases
[testub10.git] / gesamt / ag_lewurm_01.3
diff --git a/gesamt/ag_lewurm_01.3 b/gesamt/ag_lewurm_01.3
new file mode 100644 (file)
index 0000000..eda05e0
--- /dev/null
@@ -0,0 +1,8 @@
+method f(a b c)
+       if a < b then
+               var x := 0;
+               c := 1;
+       end;
+       /* x ist nicht im scope */
+       x := x - 1;
+end;