shithub: scc

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