[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Sema / vector-decl-crash.c
blobfafe34133de43d4b6495a70ae829e5c15d41035c
1 // RUN: %clang_cc1 %s -fsyntax-only -verify -triple riscv64-unknown-unknown
3 // GH50171
4 // This would previously crash when __bf16 was not a supported type.
5 __bf16 v64bf __attribute__((vector_size(128))); // expected-error {{__bf16 is not supported on this target}} \
6 expected-error {{vector size not an integral multiple of component size}}