Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
15edf0de6b5bc9ae227bcc9658a157ac30efd92e
/
.
/
test
/
SemaObjC
/
block-ivar.m
blob: 422018359a888b719b3957efc2611ab7fb33edeb [
file
] [
log
] [
blame
]
// RUN: clang -fsyntax-only -verify %s -fblocks
@interface
NSObject
{
struct
objc_object
*
isa
;
}
@end
@interface
Foo
:
NSObject
{
int
_prop
;
}
@end
@implementation
Foo
-
(
int
)
doSomething
{
int
(^
blk
)(
void
)
=
^{
return
_prop
;
};
return
blk
();
}
@end