[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / PCH / no-escaping-block-tail-calls.h
blob5d37d904795e14dc62005349ba583593e571d728
1 typedef int (^BlockTy)(void);
3 struct S0 {
4 int a;
5 };
7 struct S {
8 int i;
9 void func(BlockTy __attribute__((noescape)));
10 int foo(S0 &);
12 void m() {
13 __block S0 x;
14 func(^{ return foo(x); });