aboutsummaryrefslogtreecommitdiff
path: root/test/varargs-pass-valist+aarch64.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/varargs-pass-valist+aarch64.c')
-rw-r--r--test/varargs-pass-valist+aarch64.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/varargs-pass-valist+aarch64.c b/test/varargs-pass-valist+aarch64.c
new file mode 100644
index 0000000..c1ede84
--- /dev/null
+++ b/test/varargs-pass-valist+aarch64.c
@@ -0,0 +1,5 @@
+void f(__builtin_va_list ap);
+void g(void) {
+ static __builtin_va_list ap;
+ f(ap);
+}