void__attribute__((regparm(2)))X0::f2(){}// expected-error{{function declared with regparm(2) attribute was previously declared with the regparm(3) attribute}}
void__attribute__((regparm(2)))X0::f3(){}// expected-error{{function declared with regparm(2) attribute was previously declared without the regparm attribute}}