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