URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [vaarg1.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
// Origin: Mark Mitchell <mark@codesourcery.com>
#include <stdarg.h>
#include <stdio.h>
void f (int i, ...)
{
va_list ap;
va_start (ap, i);
vprintf ("test", ap);
va_end (ap);
}