shithub: scc

ref: 9833ce7547fe04b441bdabf7ad86783c7be6efeb
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);
}