Author: jrose
Date: Mon Mar 30 15:18:04 2015
New Revision: 233593
URL: http://llvm.org/viewvc/llvm-project?rev=233593&view=rev
Log:
[analyzer] Add test for previous commit.
Again, this is being applied in a separate commit so that the previous commit
can be reverted while leaving the test in place.
rdar://problem/20335433
Modified:
cfe/trunk/test/Analysis/properties.m
Modified: cfe/trunk/test/Analysis/properties.m
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/properties.m?rev=233593&r1=233592&r2=233593&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/properties.m (original)
+++ cfe/trunk/test/Analysis/properties.m Mon Mar 30 15:18:04 2015
@@ -671,6 +671,14 @@ void testOpaqueConsistency(OpaqueIntWrap
}
}
+// rdar://problem/20335433
+- (void)retainIvarAndInvalidateSelf {
+ extern void invalidate(id);
+ [_unownedProp retain];
+ invalidate(self);
+ [_unownedProp release]; // no-warning
+}
+
@end
#endif // non-ARC
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits