aboutsummaryrefslogtreecommitdiff
path: root/test/varargs+aarch64.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-09-07 12:50:50 -0700
committerMichael Forney <mforney@mforney.org>2021-09-07 13:19:19 -0700
commit97c8fc5358bbecb6e2452425861e6cd5a5c93f91 (patch)
tree8bebb448e9c460072bf4e2aa52dce138d9ffcd1c /test/varargs+aarch64.c
parent056c471bb7f85854e2af7a0166785d06820b251a (diff)
expr: Fix varargs again and add more tests
Diffstat (limited to 'test/varargs+aarch64.c')
l---------[-rw-r--r--]test/varargs+aarch64.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/test/varargs+aarch64.c b/test/varargs+aarch64.c
index 0b5a73d..c9c990c 100644..120000
--- a/test/varargs+aarch64.c
+++ b/test/varargs+aarch64.c
@@ -1,12 +1 @@
-void f(int n, ...) {
- __builtin_va_list ap;
-
- __builtin_va_start(ap, n);
- while (n) {
- __builtin_va_arg(ap, int);
- __builtin_va_arg(ap, float);
- __builtin_va_arg(ap, char *);
- --n;
- }
- __builtin_va_end(ap);
-}
+varargs+x86_64.c \ No newline at end of file