// RUN: %clang_cc1 -triple aarch64-linux-gnu -target-feature +sve -verify %s
typedef int invalid_typedef; // expected-warning {{'aarch64_sve_pcs' only applies to function types; type here is 'int'}}
void ; // expected-error {{'aarch64_sve_pcs' attribute takes no arguments}}
void ; // expected-error {{not compatible}}
void ; // expected-note {{previous declaration is here}}
void // expected-error {{function declared 'aarch64_sve_pcs' here was previously declared 'cdecl'}}
void ; // expected-note {{previous declaration is here}}
void // expected-error {{function declared 'aarch64_sve_pcs' here was previously declared without calling convention}}
typedef int ;
typedef int ;
void