diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-09-19 21:21:44 +0000 |
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-09-19 21:21:44 +0000 |
| commit | 3698bf1c6d73c3d9597a835d17cb7780f73bd8ca (patch) | |
| tree | 90ef70b7b70e6ef428846f379163a66c6d19f6ea /clang/test/Parser/objc-messaging-1.m | |
| parent | 72664df10386b2fb7a8d3621599ad61186a94d30 (diff) | |
| download | bcm5719-llvm-3698bf1c6d73c3d9597a835d17cb7780f73bd8ca.tar.gz bcm5719-llvm-3698bf1c6d73c3d9597a835d17cb7780f73bd8ca.zip | |
Make -Wunused-value off by default, matching GCC. Fixes rdar://7126194.
llvm-svn: 114316
Diffstat (limited to 'clang/test/Parser/objc-messaging-1.m')
| -rw-r--r-- | clang/test/Parser/objc-messaging-1.m | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/clang/test/Parser/objc-messaging-1.m b/clang/test/Parser/objc-messaging-1.m index 82450df9f2c..0708989728a 100644 --- a/clang/test/Parser/objc-messaging-1.m +++ b/clang/test/Parser/objc-messaging-1.m @@ -6,21 +6,14 @@ int main () id a, b, c; [a ii]; // expected-warning{{not found}} [a if: 1 :2]; // expected-warning{{not found}} - [a inout: 1 :2 another:(2,3,4)]; // expected-warning{{not found}} \ - // expected-warning 2{{expression result unused}} - [a inout: 1 :2 another:(2,3,4), 6,6,8]; // expected-warning{{not found}} \ - // expected-warning 2{{expression result unused}} - [a inout: 1 :2 another:(2,3,4), (6,4,5),6,8]; // expected-warning{{not found}} \ - // expected-warning 4{{expression result unused}} - [a inout: 1 :2 another:(i+10), (i,j-1,5),6,8]; // expected-warning{{not found}} \ - // expected-warning 2{{expression result unused}} - [a long: 1 :2 another:(i+10), (i,j-1,5),6,8]; // expected-warning{{not found}} \ - // expected-warning 2{{expression result unused}} - [a : "Hello\n" :2 another:(i+10), (i,j-1,5),6,8]; // expected-warning{{not found}} \ - // expected-warning 2{{expression result unused}} + [a inout: 1 :2 another:(2,3,4)]; // expected-warning{{not found}} + [a inout: 1 :2 another:(2,3,4), 6,6,8]; // expected-warning{{not found}} + [a inout: 1 :2 another:(2,3,4), (6,4,5),6,8]; // expected-warning{{not found}} + [a inout: 1 :2 another:(i+10), (i,j-1,5),6,8]; // expected-warning{{not found}} + [a long: 1 :2 another:(i+10), (i,j-1,5),6,8]; // expected-warning{{not found}} + [a : "Hello\n" :2 another:(i+10), (i,j-1,5),6,8]; // expected-warning{{not found}} // Comma expression as receiver (rdar://6222856) - [a, b, c foo]; // expected-warning{{not found}} \ - // expected-warning 2{{expression result unused}} + [a, b, c foo]; // expected-warning{{not found}} } |

