1 /* Check that attribute target arm is rejected for M profile. */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target arm_arm_ok } */
4 /* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-march=*" } { "-march=armv6-m" } } */
5 /* { dg-add-options arm_arch_v6m } */
7 int __attribute__((target("arm")))
9 { /* { dg-error "does not support" } */