aboutsummaryrefslogtreecommitdiff
path: root/test/varargs+riscv64.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/varargs+riscv64.c')
l---------[-rw-r--r--]test/varargs+riscv64.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/test/varargs+riscv64.c b/test/varargs+riscv64.c
index 0b5a73d..c9c990c 100644..120000
--- a/test/varargs+riscv64.c
+++ b/test/varargs+riscv64.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