shithub: scc

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