summaryrefslogtreecommitdiffstats
path: root/clang/test/ARCMT/remove-dealloc-zerouts.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/ARCMT/remove-dealloc-zerouts.m')
-rw-r--r--clang/test/ARCMT/remove-dealloc-zerouts.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/ARCMT/remove-dealloc-zerouts.m b/clang/test/ARCMT/remove-dealloc-zerouts.m
index 40e99206ffe..3ba85f1edca 100644
--- a/clang/test/ARCMT/remove-dealloc-zerouts.m
+++ b/clang/test/ARCMT/remove-dealloc-zerouts.m
@@ -34,11 +34,11 @@
@end
@implementation Bar
-@synthesize a;
- (void) dealloc {
[self setA:0]; // This is user-defined setter overriding synthesize, don't touch it.
self.a.x = 0; // every dealloc must zero out its own ivar. This patter is not recognized.
}
+@synthesize a;
- (void) setA:(Foo*) val { }
- (id) a {return 0;}
@end
OpenPOWER on IntegriCloud