[ELF] Avoid make in elf::writeARMCmseImportLib
[llvm-project.git] / clang / test / CodeGenCXX / windows-on-arm-itanium-thread-local.cpp
blob27a04f978c226d690886f6cb0c67294b4468d83b
1 // RUN: %clang_cc1 -triple thumbv7--windows-itanium -fdeclspec -fms-compatibility -fms-compatibility-version=19.0 -emit-llvm -o - %s | FileCheck %s
3 void *g();
4 thread_local static void *c = g();
5 void f(void *p) {
6 c = p;
9 // CHECK-LABEL: @_Z1fPv(ptr noundef %p)
10 // CHECK-NOT: call ptr @_ZTWL1c()
11 // CHECK: call arm_aapcs_vfpcc ptr @_ZTWL1c()