shithub: scc

ref: 6b1309ac40e3f1842f42b5fbd995b40dbf8e3932
dir: /tests/cc/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;
}