1 // RUN: %clang_cc1 %s -fsyntax-only -verify -triple riscv64-unknown-unknown
2 
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}}
7 
8