1 /* Copyright (c) 2010. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
10 #define DO_VA_COPY(d,s) memcpy((void *)(d), (void *)(s)), sizeof(*(s))
11 void test(char *str, ...)
17 for (i = 1; i <= 9; i++) {
18 int k = (int)va_arg(ap, int);
23 for (i = 1; i <= 9; i++) {
24 int k = (int)va_arg(ap, int);
30 int main(int argc, char *argv[])
32 test(test, 1, 2, 3, 4, 5, 6, 7, 8, 9);