⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mips16-attributes-2.c

📁 用于进行gcc测试
💻 C
字号:
/* { dg-do compile { target mips16_attribute } } *//* { dg-skip-if "" { *-*-* } { "-mflip-mips16" } { "" } } *//* { dg-add-options mips16_attribute } */void f1 (void);void __attribute__((mips16)) f1 (void) {} /* { dg-error "conflicting" } */void __attribute__((mips16)) f2 (void);void f2 (void) {} /* { dg-error "conflicting" } */void f3 (void);void __attribute__((nomips16)) f3 (void) {} /* { dg-error "conflicting" } */void __attribute__((nomips16)) f4 (void);void f4 (void) {} /* { dg-error "conflicting" } */void __attribute__((mips16, nomips16)) f5 (void) {} /* { dg-error "cannot have both" } */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -