shithub: scc

ref: 24dd64f7886173ed5df312260f9f9eabfe8b0981
dir: /tests/error/0018-voidparam.c/

View raw version
/*
PATTERN:
0018-voidparam.c:27: error: a named argument is requiered before '...'
.
*/


int
a(void, int i)
{
	return 0;
}

int
b(int i, void)
{
	return 0;
}

int
c(void, void)
{
	return 0;
}

int
d(void, ...)
{
	return 0;
}

int
main()
{
	return 0;
}