bolt/deps/llvm-18.1.8/clang/test/Import/objc-arc/Inputs/cleanup-objects.m
2025-02-14 19:21:04 +01:00

10 lines
248 B
Objective-C

typedef struct {
id x;
} S;
id getObj(int c, id a) {
// Commenting out the following line because AST importer crashes when trying
// to import a BlockExpr.
// return c ? ^{ return a; }() : ((S){ .x = a }).x;
return ((S){ .x = a }).x;
}