shithub: scc

ref: 056b7ad0b618f1f41622629a7f30d408761e73ef
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;
}