ppc: testfaelle fuer ppc32 'portiert'
[testub10.git] / gesamt_ppc / lewurm_07.0
diff --git a/gesamt_ppc/lewurm_07.0 b/gesamt_ppc/lewurm_07.0
new file mode 100644 (file)
index 0000000..b47f691
--- /dev/null
@@ -0,0 +1,8 @@
+struct a end;
+method f()
+       return this.a - inc();
+end;
+method inc()
+       this.a := this.a--1;
+       return this.a;
+end;