11 lines · plain
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 trying7 // to import a BlockExpr.8 // return c ? ^{ return a; }() : ((S){ .x = a }).x;9 return ((S){ .x = a }).x;10}11