shithub: scc

ref: 2f307820bc3dab666974d065749aef367982f420
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);
}