shithub: scc

ref: f0dc7b162e3c03dfd5628941f0d1048fa0fdfda9
dir: /tests/cc/execute/0194-vararg.c/

View raw version
#include <stdarg.h>

int
fun(int first, ...)
{
	int c;

	va_list va;

	va_start(va, first);
	c = va_arg(va, int);
	va_end(va);

	return c;
}

int
main()
{
	return fun(1, 0);
}