// RUN: %clang_cc1 -triple mips-linux-gnu -fsyntax-only -verify %s
// RUN: %clang_cc1 -triple mips64-linux-gnu -fsyntax-only -verify %s
void ; // expected-error {{'long_call' attribute takes no arguments}}
void ; // expected-error {{'short_call' attribute takes no arguments}}
void ; // expected-error {{'far' attribute takes no arguments}}
void ; // expected-error {{'near' attribute takes no arguments}}
int a; // expected-warning {{attribute only applies to functions}}
int d; // expected-warning {{attribute only applies to functions}}
int a; // expected-warning {{attribute only applies to functions}}
int a; // expected-warning {{attribute only applies to functions}}
void ;
void ;
void ;
void ;
void ;
void ;
void ; // expected-error {{'near' and 'far' attributes are not compatible}} \
// expected-note {{conflicting attribute is here}}
void ; // expected-error {{'long_call' and 'short_call' attributes are not compatible}} \
// expected-note {{conflicting attribute is here}}