URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [980716-1.c] - Rev 688
Compare with Previous | Blame | View Log
#include <stdarg.h> void stub(int num, ...) { va_list ap; char *end; int i; for (i = 0; i < 2; i++) { va_start(ap, num); while ( 1 ) { end = va_arg(ap, char *); if (!end) break; } va_end(ap); } } int main() { stub(1, "ab", "bc", "cx", 0); exit (0); }