mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 13:06:06 +00:00

Conversion done using the script at https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34. These are tests where the conversion worked out of the box and no manual fixup was performed.
13 lines
346 B
C++
13 lines
346 B
C++
// RUN: %clang_cc1 -triple thumbv7--windows-itanium -fdeclspec -fms-compatibility -fms-compatibility-version=19.0 -emit-llvm -o - %s | FileCheck %s
|
|
|
|
void *g();
|
|
thread_local static void *c = g();
|
|
void f(void *p) {
|
|
c = p;
|
|
}
|
|
|
|
// CHECK-LABEL: @_Z1fPv(ptr noundef %p)
|
|
// CHECK-NOT: call ptr @_ZTWL1c()
|
|
// CHECK: call arm_aapcs_vfpcc ptr @_ZTWL1c()
|
|
|