]> granicus.if.org Git - clang/commitdiff
fix an invalid use of super, you can't use super like this in a block!
authorChris Lattner <sabre@nondot.org>
Mon, 12 Apr 2010 05:43:31 +0000 (05:43 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 12 Apr 2010 05:43:31 +0000 (05:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101017 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenObjC/blocks.m

index 6dc14107b7c7f4c791e05ae26603538228957831..8ba319eefee14474b5efbe13401ec6fc81636dab 100644 (file)
@@ -29,7 +29,7 @@ void foo(T *P) {
 @interface B : A @end
 @implementation B
 -(void) im1 {
-  ^(void) { [super im0]; }();
+  ^(void) { [self im0]; }();
 }
 @end