[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / CodeGen / builtin-sponentry.c
blob1c04e45c820fe3b741d5bbc63705a90aaabb24ff
1 // RUN: %clang_cc1 -triple aarch64-windows-gnu -Oz -emit-llvm %s -o - | FileCheck %s
2 // RUN: %clang_cc1 -triple thumbv7-windows-gnu -Oz -emit-llvm %s -o - | FileCheck %s
4 void *test_sponentry(void) {
5 return __builtin_sponentry();
7 // CHECK-LABEL: define dso_local {{(arm_aapcs_vfpcc )?}}ptr @test_sponentry()
8 // CHECK: = tail call ptr @llvm.sponentry.p0()
9 // CHECK: ret ptr