bolt/deps/llvm-18.1.8/clang/test/CodeGen/RISCV/rvb-intrinsics/riscv32-zbb-error.c
2025-02-14 19:21:04 +01:00

6 lines
278 B
C

// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
// RUN: %clang_cc1 -triple riscv32 -target-feature +zbb -verify %s -o -
unsigned int orc_b_64(unsigned int a) {
return __builtin_riscv_orc_b_64(a); // expected-error {{builtin requires: 'RV64'}}
}