Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.c-torture / execute / va-arg-20.c
blob2e8e5640d8c9043d3523185444f4c5ac29cf550a
1 #include <stdarg.h>
3 void foo(va_list v)
5 unsigned long long x = va_arg (v, unsigned long long);
6 if (x != 16LL)
7 abort();
10 void bar(char c, char d, ...)
12 va_list v;
13 va_start(v, d);
14 foo(v);
15 va_end(v);
18 int main(void)
20 bar(0, 0, 16LL);
21 exit(0);