[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGen / arm-mangle-bf16.cpp
blob6dd4a11c1e71233946162ae0bcbb9511b0fb7514
1 // RUN: %clang_cc1 -triple aarch64-arm-none-eabi -target-feature +bf16 -emit-llvm -o - %s | FileCheck %s
2 // RUN: %clang_cc1 -triple aarch64-arm-none-eabi -target-feature -bf16 -emit-llvm -o - %s | FileCheck %s
3 // RUN: %clang_cc1 -triple arm-arm-none-eabi -target-feature +bf16 -mfloat-abi hard -emit-llvm -o - %s | FileCheck %s
4 // RUN: %clang_cc1 -triple arm-arm-none-eabi -target-feature +bf16 -mfloat-abi softfp -emit-llvm -o - %s | FileCheck %s
6 // CHECK: define {{.*}}void @_Z3foou6__bf16(bfloat noundef %b)
7 void foo(__bf16 b) {}