text: // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -fsyntax-only -verify %s
  
  // REQUIRES: aarch64-registered-target || arm-registered-target
  
  #include <arm_sve.h>
  
  void test_svprfw(svbool_t pg, const void *base)
  {
    // expected-error@+1 {{argument value 14 is outside the valid range [0, 13]}}
    return svprfw(pg, base, 14);
  }
  
  void test_svprfw_1(svbool_t pg, const void *base)
  {
    // expected-error-re@+1 {{argument value {{.*}} is outside the valid range [0, 13]}}
    return svprfw(pg, base, -1);
  }
  
  void test_svprfw_vnum(svbool_t pg, const void *base)
  {
    // expected-error@+1 {{argument value 14 is outside the valid range [0, 13]}}
    return svprfw_vnum(pg, base, 0, 14);
  }
  
  void test_svprfw_vnum_1(svbool_t pg, const void *base)
  {
    // expected-error-re@+1 {{argument value {{.*}} is outside the valid range [0, 13]}}
    return svprfw_vnum(pg, base, 0, -1);
  }
  