brintos

brintos / llvm-project-archived public Read only

0
0
Text · 504 B · a852ffa Raw
11 lines · c
1// REQUIRES: aarch64-registered-target2// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sme -target-feature +sve -fsyntax-only -verify %s3 4#include <arm_sme.h>5 6void test_svzero_args(uint64_t m) {7  svzero_za(0); // expected-error {{too many arguments to function call, expected 0, have 1}}8  svzero_za(m); // expected-error {{too many arguments to function call, expected 0, have 1}}9  svzero_mask_za(m); // expected-error {{argument to 'svzero_mask_za' must be a constant integer}}10}11