diff options
Diffstat (limited to 'clang/test/CodeGenObjC')
-rw-r--r-- | clang/test/CodeGenObjC/blocks.m | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/blocks.m b/clang/test/CodeGenObjC/blocks.m index c32419e4243..e9ca2238bab 100644 --- a/clang/test/CodeGenObjC/blocks.m +++ b/clang/test/CodeGenObjC/blocks.m @@ -15,3 +15,13 @@ void foo(T *P) { [P foo: 0]; } +@interface A +-(void) im0; +@end + +@interface B : A @end +@implementation B +-(void) im1 { + ^(void) { [super im0]; }(); +} +@end |