blob: fafe34133de43d4b6495a70ae829e5c15d41035c [file] [log] [blame]
// RUN: %clang_cc1 %s -fsyntax-only -verify -triple riscv64-unknown-unknown
// GH50171
// This would previously crash when __bf16 was not a supported type.
__bf16 v64bf __attribute__((vector_size(128))); // expected-error {{__bf16 is not supported on this target}} \
expected-error {{vector size not an integral multiple of component size}}