aboutsummaryrefslogtreecommitdiff
path: root/tests/varargs.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/varargs.c')
-rw-r--r--tests/varargs.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/varargs.c b/tests/varargs.c
deleted file mode 100644
index 0b5a73d..0000000
--- a/tests/varargs.c
+++ /dev/null
@@ -1,12 +0,0 @@
-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);
-}