shithub: scc

ref: 9f363578d2563e399e8a08d473440a6305d5b9f0
dir: /tests/cc/error/0019-kr_names.c/

View raw version
/*
PATTERN:
0019-kr_names.c:9: warning: parameter names (without types) in function declaration
0019-kr_names.c:13: warning: type of 'a' defaults to int
0019-kr_names.c:13: warning: type of 'c' defaults to int
.
*/

int f(a,b);

int
f(a,b,c) char b;
{
	return a - c + b;
}

int
main(void)
{
	return f(1,0,1);
}