// RUN: %clang_cc1 -triple mips-linux-gnu -fsyntax-only -verify %s
void ; // expected-error {{'nomicromips' attribute takes no arguments}}
void ; // expected-error {{'micromips' attribute takes no arguments}}
int a; // expected-error {{attribute only applies to functions}}
int b; // expected-error {{attribute only applies to functions}}
void ; // expected-error {{'mips16' and 'micromips' attributes are not compatible}} \
// expected-note {{conflicting attribute is here}}
void ; // expected-error {{'micromips' and 'mips16' attributes are not compatible}} \
// expected-note {{conflicting attribute is here}}
void ;
void ;
void ; // expected-error {{'micromips' and 'mips16' attributes are not compatible}} \
// expected-note {{conflicting attribute is here}}