aboutsummaryrefslogtreecommitdiffhomepage
path: root/test.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2023-06-04 13:15:15 +0200
committerlemon <lsof@mailbox.org>2023-06-04 13:15:15 +0200
commitd8f63a7c8f9ec6c1213e219d4b6d5d30ce595cdd (patch)
tree84f2f383fcd129332b3a0a6a7bb85666e7569934 /test.c
parent45cd3d8d6eeccc42f7e0b23f7871b29f3ce6f7e7 (diff)
evaluate call args backwards
Diffstat (limited to 'test.c')
-rw-r--r--test.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/test.c b/test.c
index 6d1063e..388f9f7 100644
--- a/test.c
+++ b/test.c
@@ -69,7 +69,11 @@ void fill(char *p, int c, unsigned long n)
if (n) do t = *p++ = c; while (--n);
}
-main(t) { putc(t); }
+void zero(void *p, unsigned long n) { fill(p,0,n); }
+
+main(t) {
+ putc(t + 1, t + 2);
+}
//