xref: /llvm-project/clang/test/Sema/riscv-vector-types-support.c (revision 42e79d9771f96110c7f51ee5f39a76517ae44234)
1 // RUN: %clang_cc1 %s -triple riscv64 -fsyntax-only -verify
2 
3 typedef __attribute__((riscv_rvv_vector_bits(256))) void norvvflag; // expected-error{{'riscv_rvv_vector_bits' attribute is not supported on targets missing 'zve32x'; specify an appropriate -march= or -mcpu=}}
4