summaryrefslogtreecommitdiff
path: root/test/Sema/mips16_attr_not_allowed.c
blob: 54f27d6198104c903d772bf7f39719b1c9da0efa (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fsyntax-only -verify %s

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