shithub: scc

ref: 249ecda69e6ec6de2dde995cc370239e9ff3e775
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;
}