[flang][cuda] Do not register global constants (#118582)
[llvm-project.git] / clang / test / Sema / aarch64-sme-intrinsics / acle_sme_zero.c
bloba852ffa09c60e584e1204b07873a825c7a838345
1 // REQUIRES: aarch64-registered-target
2 // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sme -target-feature +sve -fsyntax-only -verify %s
4 #include <arm_sme.h>
6 void 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}}