1// { dg-options "--std=c++0x" } 2// { dg-options "-Wno-abi --std=c++0x" { target arm_eabi } } 3#include <stdarg.h> 4 5struct S { }; 6void f(S const &); 7 8void g(va_list args) 9{ 10 f(va_arg(args, S)); 11} 12