URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [abi/] [arm_va_list.C] - Rev 320
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do compile }
// { dg-options "-Wno-abi" }
// { dg-require-effective-target arm_eabi }
// AAPCS \S 7.1.4 requires that va_list be a typedef for "struct
// __va_list". The mangling is as if it were "std::__va_list".
// #include <stdarg.h>
typedef __builtin_va_list va_list;
// { dg-final { scan-assembler "\n_Z1fPSt9__va_list:" } }
void f(va_list*) {}
// { dg-final { scan-assembler "\n_Z1gSt9__va_listS_:" } }
void g(va_list, va_list) {}
Go to most recent revision | Compare with Previous | Blame | View Log