mips16-attributes-2.c

来自「用于进行gcc测试」· C语言 代码 · 共 18 行

C
18
字号
/* { 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 + =
减小字号Ctrl + -
显示快捷键?