summaryrefslogtreecommitdiffstats
path: root/libacc/tests/data
diff options
context:
space:
mode:
Diffstat (limited to 'libacc/tests/data')
-rw-r--r--libacc/tests/data/inc.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libacc/tests/data/inc.c b/libacc/tests/data/inc.c
new file mode 100644
index 0000000..eda3659
--- /dev/null
+++ b/libacc/tests/data/inc.c
@@ -0,0 +1,10 @@
+// Check integer operations
+
+int main() {
+ int a = 0;
+ printf("%d\n", a++);
+ printf("%d\n", a++);
+ printf("%d\n", a--);
+ printf("%d\n", a--);
+ return a;
+}