summaryrefslogtreecommitdiffstats
path: root/src/CBot/TestCBot/postinc.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CBot/TestCBot/postinc.txt')
-rw-r--r--src/CBot/TestCBot/postinc.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/CBot/TestCBot/postinc.txt b/src/CBot/TestCBot/postinc.txt
new file mode 100644
index 0000000..cdf6ab5
--- /dev/null
+++ b/src/CBot/TestCBot/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 );
+}