diff options
Diffstat (limited to 'test/cbot/scenarios/postinc.txt')
-rw-r--r-- | test/cbot/scenarios/postinc.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/cbot/scenarios/postinc.txt b/test/cbot/scenarios/postinc.txt new file mode 100644 index 0000000..cdf6ab5 --- /dev/null +++ b/test/cbot/scenarios/postinc.txt @@ -0,0 +1,7 @@ +extern public void X()
+{
+ point A [ ] ;
+ A[5] = new point (2,3);
+ int val = A[5].x++ + --A[5].y;
+ show ( A, val );
+}
|