Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/sve/pcs/nosve_6.c

raw
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 unprototyped ();
9
10 void
11 f (svuint8_t *ptr)
12 {
13 unprototyped (*ptr); /* { dg-error {this operation requires the SVE ISA extension} } */
14 /* { dg-error {arguments of type '(svuint8_t|__SVUint8_t)' require the SVE ISA extension} "" { target *-*-* } .-1 } */
15 }