aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/code-readable-attr-5.c
blob: 0a547a9acfc07fcd7ced7ffe5f9e3e113be49d07 (plain)
1
2
3
4
5
/* { dg-options "(-mips16) isa_rev<=5" } */

 __attribute__((code_readable ("magic"))) int foo () {} /* { dg-warning "argument to 'code_readable' attribute is neither no, pcrel nor yes" } */

 __attribute__((code_readable (1))) int * bar () {} /* { dg-warning "'code_readable' attribute requires a string argument" } */