brintos

brintos / llvm-project-archived public Read only

0
0
Text · 278 B · 4d1ca0d Raw
20 lines · plain
1// RUN: %clang_cc1 -debug-info-kind=limited %s -fblocks -S -o %t2 3@interface NSObject {4  struct objc_object *isa;5}6@end7@interface Foo : NSObject {8  int _prop;9}10@end11 12@implementation Foo13- (int)doSomething {14  int (^blk)(void) = ^{ return _prop; };15  return blk();16}17 18@end19 20