gcc/testsuite/gcc.dg/lto/pr70955_0.c
raw| 1 | /* __builtin_ms_va_list is only supported for x86 -m64. */ |
| 2 | /* { dg-skip-if "" { ! { { i?86-*-* x86_64-*-* } && { ! ilp32 } } } } */ |
| 3 | |
| 4 | #include <stdio.h> |
| 5 | |
| 6 | int __attribute__((ms_abi)) va_demo (int count, ...); |
| 7 | |
| 8 | int |
| 9 | main (void) |
| 10 | { |
| 11 | printf ("sum == %d\n", va_demo (5, 1, 2, 3, 4, 5)); |
| 12 | return 0; |
| 13 | } |