Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: gcc/gcc/testsuite/objc.dg/method-11.m

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/objc.dg/lookup-1.m ('k') | gcc/gcc/testsuite/objc.dg/method-19.m » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/objc.dg/method-11.m
diff --git a/gcc/gcc/testsuite/objc.dg/method-11.m b/gcc/gcc/testsuite/objc.dg/method-11.m
index 5921292c1ba2ee806d49a0c3daac3d3e3a3b34ed..ddd0121b0d51f63fa4a4004dc8a81c32393e5348 100644
--- a/gcc/gcc/testsuite/objc.dg/method-11.m
+++ b/gcc/gcc/testsuite/objc.dg/method-11.m
@@ -24,9 +24,9 @@ void foo(void) {
id obj1, obj2 = 0;
obj2 = [obj1 initWithData: obj2];
/* { dg-warning "multiple methods named .\\-initWithData:. found" "" { target *-*-* } 25 } */
- /* { dg-warning "using .\\-\\(void\\)initWithData:\\(Object1 \\*\\)data." "" { target *-*-* } 12 } */
- /* { dg-warning "also found .\\-\\(id\\)initWithData:\\(Object1 \\*\\)data." "" { target *-*-* } 16 } */
- /* { dg-warning "also found .\\-\\(id\\)initWithData:\\(Object2 \\*\\)data." "" { target *-*-* } 20 } */
+ /* { dg-message "using .\\-\\(void\\)initWithData:\\(Object1 \\*\\)data." "" { target *-*-* } 12 } */
+ /* { dg-message "also found .\\-\\(id\\)initWithData:\\(Object1 \\*\\)data." "" { target *-*-* } 16 } */
+ /* { dg-message "also found .\\-\\(id\\)initWithData:\\(Object2 \\*\\)data." "" { target *-*-* } 20 } */
/* The following error is a consequence of picking the "wrong" method signature. */
/* { dg-error "void value not ignored as it ought to be" "" { target *-*-* } 25 } */
« no previous file with comments | « gcc/gcc/testsuite/objc.dg/lookup-1.m ('k') | gcc/gcc/testsuite/objc.dg/method-19.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698