summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/protocols-lazy.m
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-07-21 20:50:41 +0000
committerMike Stump <mrs@apple.com>2009-07-21 20:50:41 +0000
commit087a3f7e0de31006f027668d7cdcb8588f0a2208 (patch)
treee34a2a94792f85399fbc55615254e447066c174f /clang/test/CodeGenObjC/protocols-lazy.m
parent944df00962fb2bcba5b0990848867c22e59469ed (diff)
downloadbcm5719-llvm-087a3f7e0de31006f027668d7cdcb8588f0a2208.tar.gz
bcm5719-llvm-087a3f7e0de31006f027668d7cdcb8588f0a2208.zip
Prep for new warning.
llvm-svn: 76637
Diffstat (limited to 'clang/test/CodeGenObjC/protocols-lazy.m')
-rw-r--r--clang/test/CodeGenObjC/protocols-lazy.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenObjC/protocols-lazy.m b/clang/test/CodeGenObjC/protocols-lazy.m
index e91cc0aea83..a8f79026f78 100644
--- a/clang/test/CodeGenObjC/protocols-lazy.m
+++ b/clang/test/CodeGenObjC/protocols-lazy.m
@@ -26,7 +26,7 @@ void f1() { id x = @protocol(P3); }
// RUN: grep OBJC_PROTOCOL_INSTANCE_METHODS_P4 %t | count 3 &&
@protocol P4 -im1; @end
@interface I0<P4> @end
-@implementation I0 -im1 {}; @end
+@implementation I0 -im1 { return 0; }; @end
// Definition following forward reference.
// RUN: grep OBJC_PROTOCOL_P5 %t | count 3 &&
@@ -42,7 +42,7 @@ void f2() { id x = @protocol(P5); } // This generates a forward
// RUN: grep OBJC_PROTOCOL_INSTANCE_METHODS_P6 %t | count 3 &&
@protocol P6 -im1; @end
@interface I1<P6> @end
-@implementation I1 -im1 {}; @end
+@implementation I1 -im1 { return 0; }; @end
void f3() { id x = @protocol(P6); }
// RUN: true
OpenPOWER on IntegriCloud