aboutsummaryrefslogtreecommitdiff
path: root/test/builtin-va-copy+x86_64-sysv.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2022-06-13 14:20:29 -0700
committerMichael Forney <mforney@mforney.org>2022-06-13 14:20:29 -0700
commitc4dc3ee92a962dbb939789d5d5f7fd43a8dcdb6c (patch)
tree7fe0e835032dc9802f6cbc3254bee931e7807e27 /test/builtin-va-copy+x86_64-sysv.c
parent7d9f23f73c96bca640e133a53813a74bdc85fe83 (diff)
Fix tests for x86_64 -> x86_64-sysv target rename
Diffstat (limited to 'test/builtin-va-copy+x86_64-sysv.c')
-rw-r--r--test/builtin-va-copy+x86_64-sysv.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/builtin-va-copy+x86_64-sysv.c b/test/builtin-va-copy+x86_64-sysv.c
new file mode 100644
index 0000000..48577ed
--- /dev/null
+++ b/test/builtin-va-copy+x86_64-sysv.c
@@ -0,0 +1,11 @@
+void f1(void) {
+ static __builtin_va_list a, b;
+ __builtin_va_copy(a, b);
+}
+void f2(__builtin_va_list b) {
+ static __builtin_va_list a;
+ __builtin_va_copy(a, b);
+}
+void f3(__builtin_va_list a, __builtin_va_list b) {
+ __builtin_va_copy(a, b);
+}