brintos

brintos / llvm-project-archived public Read only

0
0
Text · 211 B · 5d37d90 Raw
17 lines · c
1typedef int (^BlockTy)(void);2 3struct S0 {4  int a;5};6 7struct S {8  int i;9  void func(BlockTy __attribute__((noescape)));10  int foo(S0 &);11 12  void m() {13    __block S0 x;14    func(^{ return foo(x); });15  }16};17