1 /* { dg-do compile } */
2 /* { dg-prune-output "compilation terminated" } */
3
4 #include <arm_sve.h>
5
6 #pragma GCC target "+nosve"
7
8 void take_svuint8_eventually (float, float, float, float,
9 float, float, float, float, svuint8_t);
10
11 void
f(svuint8_t * ptr)12 f (svuint8_t *ptr)
13 {
14 take_svuint8_eventually (0, 0, 0, 0, 0, 0, 0, 0, *ptr); /* { dg-error {this operation requires the SVE ISA extension} } */
15 /* { dg-error {arguments of type '(svuint8_t|__SVUint8_t)' require the SVE ISA extension} "" { target *-*-* } .-1 } */
16 }
17