// RUN: %clang_cc1 -fsyntax-only -verify %s
voidfun(voida,// expected-error{{'void' must be the first and only parameter if specified}}
doubleb,intc,voidd,// expected-error{{'void' must be the first and only parameter if specified}}
inte,voidf)// expected-error{{'void' must be the first and only parameter if specified}}
{}voidfoo(inta,void,// expected-error{{'void' must be the first and only parameter if specified}}
intb);voidbar(void,// expected-error{{'void' must be the first and only parameter if specified}}
...);structS{S(void,// expected-error{{'void' must be the first and only parameter if specified}}
void);// expected-error{{'void' must be the first and only parameter if specified}}
};