// RUN: %clang_cc1 %s -fsyntax-only -Wno-strict-prototypes -triple i686-intel-elfiamcu -verify
void  
void  
void  
void  
void  
void  
void  
void   // expected-error {{'cdecl' attribute takes no arguments}}
 = foo; // expected-warning {{'fastcall' calling convention is not supported for this target}}
 = bar; // expected-warning {{'stdcall' calling convention is not supported for this target}}
 = ctest0;
void 
 = ctest2;
typedef void  ; // expected-warning {{'fastcall' calling convention is not supported for this target}}
Handler H = foo;
int  ; // expected-error {{'pcs' attribute takes one argument}}
int  ; // expected-error {{'pcs' attribute takes one argument}}
int  ; // expected-error {{'pcs' attribute requires a string}} \
                                           // expected-error {{invalid PCS type}}
int  ; // expected-error {{'pcs' attribute requires a string}}
/* These are ignored because the target is i386 and not ARM */
int  ; // expected-warning {{'pcs' calling convention is not supported for this target}}
int  ; // expected-warning {{'pcs' calling convention is not supported for this target}}
int  ; // expected-error {{invalid PCS type}}
void ;
void  
typedef  void ; // expected-warning {{'stdcall' calling convention is not supported for this target}}
PROC  
void   // expected-warning {{'intel_ocl_bicc' calling convention is not supported for this target}}
 ; // expected-warning {{'stdcall' calling convention is not supported for this target}} expected-warning {{'stdcall' attribute only applies to functions and methods}}