xref: /llvm-project/clang/test/Import/objc-arc/Inputs/cleanup-objects.m (revision 40568fec7e3eb51554cbdaf63a8044830be93fa4)
1typedef struct {
2  id x;
3} S;
4
5id getObj(int c, id a) {
6  // Commenting out the following line because AST importer crashes when trying
7  // to import a BlockExpr.
8  // return c ? ^{ return a; }() : ((S){ .x = a }).x;
9  return ((S){ .x = a }).x;
10}
11