1 /* { dg-do compile } */
2 /* { dg-options "-O2 -march=armv8-a+simd" } */
4 /* Using a SIMD intrinsic from a function tagged with nosimd should fail
5 due to inlining rules. */
9 __attribute__ ((target ("+nosimd")))
11 foo (uint8x16_t a
, uint8x16_t b
, uint8x16_t c
)
13 return vbslq_u8 (a
, b
, c
); /* { dg-error "called from here" } */
16 /* { dg-error "inlining failed in call to always_inline" "" { target *-*-* } 0 } */