shithub: scc

ref: 6b1309ac40e3f1842f42b5fbd995b40dbf8e3932
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);
}