[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGen / intel_ocl_bicc.c
blobc5c5229e1cc801630ee8dd83f5ec5a22565a973e
1 // RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm -o - %s | FileCheck %s
2 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck %s
4 void __attribute__((intel_ocl_bicc)) f1(void);
6 void f2(void) {
7 f1();
8 // CHECK: call intel_ocl_bicc void @f1()
11 // CHECK: declare intel_ocl_bicc void @f1()