aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-07-21 18:48:43 +0000
committerMike Stump <mrs@apple.com>2009-07-21 18:48:43 +0000
commit044ca3f1ea1159525ceeb12dd46e85e6ec083ba4 (patch)
tree3fd8f59ef3721e174d1071b94a8008fe456c6539
parent4393b3f0f84cb768bc9736a428949ea41f54ce6f (diff)
Prep for new warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76609 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Analysis/rdar-6562655.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Analysis/rdar-6562655.m b/test/Analysis/rdar-6562655.m
index 27e020c425..1588e9e975 100644
--- a/test/Analysis/rdar-6562655.m
+++ b/test/Analysis/rdar-6562655.m
@@ -53,7 +53,7 @@ typedef struct _NSRunArrayItem {
@end
@implementation Bar
static Baz Qux = 0;
-- (id)copyWithZone:(NSZone *)zone {}
+- (id)copyWithZone:(NSZone *)zone { return 0; }
- (void)encodeWithCoder:(NSCoder *)coder {}
@end
@implementation Bar (BarBotnet)
@@ -61,5 +61,6 @@ static Baz Qux = 0;
if (!(*(BarAuxiliary **)&self->_support)->auxCFlags.botnetIsSet) {
_cFlags.botnet = [self _initialBotnetZorg];
}
+ while (1) {}
}
@end