[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / CodeGen / avr / builtin-function-start.c
blob293c8061299d7698b7b5a2c34019c690e104528f
1 // NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --function-signature --check-globals
2 // RUN: %clang_cc1 -triple avr-- -emit-llvm -o - %s | FileCheck %s
4 //.
5 // CHECK: @e = global ptr addrspacecast (ptr addrspace(1) no_cfi @a to ptr), align 1
6 //.
7 // CHECK-LABEL: define {{[^@]+}}@a
8 // CHECK-SAME: () addrspace(1) #[[ATTR0:[0-9]+]] {
9 // CHECK-NEXT: entry:
10 // CHECK-NEXT: ret void
12 void a(void) {}
13 const void *e = __builtin_function_start(a);