diff options
Diffstat (limited to 'clang/test/Rewriter/weak_byref_objects.m')
-rw-r--r-- | clang/test/Rewriter/weak_byref_objects.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Rewriter/weak_byref_objects.m b/clang/test/Rewriter/weak_byref_objects.m index 09d30ed268b0..52111c10edc0 100644 --- a/clang/test/Rewriter/weak_byref_objects.m +++ b/clang/test/Rewriter/weak_byref_objects.m @@ -1,12 +1,12 @@ // RUN: %clang_cc1 -fblocks -triple i386-apple-darwin9 -fobjc-gc -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o - #define nil 0 -int main() { +int main(void) { __weak __block id foo = nil; __block id foo2 = nil; id foo3 = nil; - void (^myblock)() = ^{ + void (^myblock)(void) = ^{ foo = nil; foo2 = nil; [foo3 bar]; |