blob: 8475ecd6c8178a48b20c14da9c084b8498649b3c [file] [log] [blame]
void *vp;
int (*ap)[];
struct S *sp;
union U *up;
int (*fp)();
void
test ()
{
vp++; /* ERROR - incrementing void * */
ap++; /* ERROR - incrementing ptr to incomplete type */
sp++; /* ERROR - incrementing ptr to incomplete type */
up++; /* ERROR - incrementing ptr to incomplete type */
fp++; /* ERROR - incrementing ptr to function */
}