repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
CodeGenObjC
/
blocks-ivar-debug.m
blob
4d1ca0dcc0a9f7598875af3d593f00b5469d9dba
1
// RUN: %clang_cc1 -debug-info-kind=limited %s -fblocks -S -o %t
2
3
@interface NSObject {
4
struct objc_object *isa;
5
}
6
@end
7
@interface Foo : NSObject {
8
int _prop;
9
}
10
@end
11
12
@implementation Foo
13
- (int)doSomething {
14
int (^blk)(void) = ^{ return _prop; };
15
return blk();
16
}
17
18
@end
19