diff options
Diffstat (limited to 'test/builtin-va-copy+x86_64.c')
-rw-r--r-- | test/builtin-va-copy+x86_64.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/builtin-va-copy+x86_64.c b/test/builtin-va-copy+x86_64.c index 7a69596..48577ed 100644 --- a/test/builtin-va-copy+x86_64.c +++ b/test/builtin-va-copy+x86_64.c @@ -1,4 +1,11 @@ -void f(void) { +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); +} |