voidf2(x)floatx;{}// expected-warning{{promoted type 'double' of K&R function parameter is not compatible with the parameter type 'float' declared in a previous prototype}}
registerchar*s,c;// expected-warning{{promoted type 'char *' of K&R function parameter is not compatible with the parameter type 'const char *' declared in a previous prototype}}
voidfunc(shortd)__attribute__((cdecl));// expected-note{{previous declaration is here}}
void__attribute__((cdecl))func(d)
shortd;// expected-warning{{promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype}}