[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGenOpenCL / amdgpu-calling-conv.cl
blob835990c7b1ad88c7c469255a961e93623f0c08b2
1 // REQUIRES: amdgpu-registered-target
2 // RUN: %clang_cc1 -triple amdgcn-unknown-unknown -S -emit-llvm -o - %s | FileCheck %s
4 // CHECK: define{{.*}} amdgpu_kernel void @calling_conv_amdgpu_kernel()
5 kernel void calling_conv_amdgpu_kernel()
9 // CHECK: define{{.*}} void @calling_conv_none()
10 void calling_conv_none()