// RUN: %clang_cc1 -fsyntax-only -verify -triple x86_64-pc-linux-gnu %s
// RUN: %clang_cc1 -fsyntax-only -verify -triple i686-apple-darwin10 %s
// PR7025
;
void
void
void // expected-error{{function declared with regparm(2) attribute was previously declared with the regparm(3) attribute}}
void // expected-error{{function declared with regparm(2) attribute was previously declared without the regparm attribute}}