// RUN: %clang_cc1 %s -triple mips-img-elf -verify -fsyntax-only
;
struct a test ; // expected-warning {{'interrupt' attribute only applies to functions and methods}}
void // expected-warning {{'interrupt' attribute argument not supported: 'EIC'}}
void // expected-error {{'interrupt' attribute takes no more than 1 argument}}
void
void
void
void
void
void
void
void
void
int // expected-warning {{MIPS 'interrupt' attribute only applies to functions that have a 'void' return type}}
void // expected-warning {{MIPS 'interrupt' attribute only applies to functions that have no parameters}}
void // expected-error {{'mips16' and 'interrupt' attributes are not compatible}} \
// expected-note {{conflicting attribute is here}}
void // expected-error {{'interrupt' and 'mips16' attributes are not compatible}} \
// expected-note {{conflicting attribute is here}}
void // expected-error {{'mips16' and 'interrupt' attributes are not compatible}} \
// expected-note {{conflicting attribute is here}}
void // expected-error {{'interrupt' and 'mips16' attributes are not compatible}} \
// expected-note {{conflicting attribute is here}}