brintos

brintos / llvm-project-archived public Read only

0
0
Text · 346 B · 27a04f9 Raw
13 lines · cpp
1// RUN: %clang_cc1 -triple thumbv7--windows-itanium -fdeclspec -fms-compatibility -fms-compatibility-version=19.0 -emit-llvm -o - %s | FileCheck %s2 3void *g();4thread_local static void *c = g();5void f(void *p) {6  c = p;7}8 9// CHECK-LABEL: @_Z1fPv(ptr noundef %p)10// CHECK-NOT: call ptr @_ZTWL1c()11// CHECK: call arm_aapcs_vfpcc ptr @_ZTWL1c()12 13