clang/test/CodeGen/RISCV/rvb-intrinsics/riscv32-zbb-error.c
raw| 1 | // NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py |
| 2 | // RUN: %clang_cc1 -triple riscv32 -target-feature +zbb -S -verify %s -o - |
| 3 | |
| 4 | unsigned int orc_b_64(unsigned int a) { |
| 5 | return __builtin_riscv_orc_b_64(a); // expected-error {{'__builtin_riscv_orc_b_64' needs target feature zbb,64bit}} |
| 6 | } |