llvm/clang/test/Sema/mips16_attr_not_allowed.c

// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fsyntax-only -verify %s

void __attribute__((nomips16)) foo32(void); // expected-warning {{unknown attribute 'nomips16' ignored}}
void __attribute__((mips16)) foo16(void); // expected-warning {{unknown attribute 'mips16' ignored}}