[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / CodeGen / artificial.c
blob5c433c89f0306ec1694d51372ebe6f2362c0ebc8
1 // RUN: %clang_cc1 -triple=x86_64-unknown-linux-gnu -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s
3 extern void foo(void);
4 // CHECK: !DISubprogram(name: "foo"
5 // CHECK-SAME: flags: DIFlagArtificial
6 inline void __attribute__((artificial)) foo(void) {}
8 void baz(void) {
9 foo();