summaryrefslogtreecommitdiff
path: root/test/SemaObjC/method-encoding-2.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/method-encoding-2.m')
-rw-r--r--test/SemaObjC/method-encoding-2.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/method-encoding-2.m b/test/SemaObjC/method-encoding-2.m
index 64a0bc4c323d0..b3ffdcd0585c2 100644
--- a/test/SemaObjC/method-encoding-2.m
+++ b/test/SemaObjC/method-encoding-2.m
@@ -7,6 +7,6 @@
@end
@implementation Intf
-- (in out bycopy id) address:(byref inout void *)location with:(out oneway unsigned **)arg2{}
-- (id) another:(void *)location with:(unsigned **)arg2 {}
+- (in out bycopy id) address:(byref inout void *)location with:(out oneway unsigned **)arg2{ return 0; }
+- (id) another:(void *)location with:(unsigned **)arg2 { return 0; }
@end