gcc/testsuite/gcc.target/mips/code-readable-attr-5.c
raw| 1 | /* { dg-options "(-mips16) isa_rev<=5" } */ |
| 2 | |
| 3 | __attribute__((code_readable ("magic"))) int foo () {} /* { dg-warning "argument to 'code_readable' attribute is neither no, pcrel nor yes" } */ |
| 4 | |
| 5 | __attribute__((code_readable (1))) int * bar () {} /* { dg-warning "'code_readable' attribute requires a string argument" } */ |