/* { dg-do compile } */ /* { dg-prune-output "compilation terminated" } */ #include #pragma GCC target "+nosve" svbool_t (*return_bool) (); void f (svbool_t *ptr) { *ptr = return_bool (); /* { dg-error {calls to functions of type 'svbool_t\(\)' require the SVE ISA extension} } */ }