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

Unified Diff: gcc/gcc/testsuite/objc.dg/method-6.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/method-4.m ('k') | gcc/gcc/testsuite/objc.dg/proto-lossage-2.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-6.m
diff --git a/gcc/gcc/testsuite/objc.dg/method-6.m b/gcc/gcc/testsuite/objc.dg/method-6.m
index aa94bac67751aae40dfa42e5e00b1b400bec5127..c46d9c450e770fddbeab82e48659bd3a9365b8f4 100644
--- a/gcc/gcc/testsuite/objc.dg/method-6.m
+++ b/gcc/gcc/testsuite/objc.dg/method-6.m
@@ -4,7 +4,7 @@
/* { dg-do compile } */
/* { dg-options "-Wstrict-selector-match" } */
-#include <objc/Protocol.h>
+#include "../objc-obj-c++-shared/Protocol1.h"
@interface Base
- (unsigned)port;
@@ -20,8 +20,8 @@ void foo(void) {
Class receiver;
[receiver port]; /* { dg-warning "multiple methods named .\\+port. found" } */
- /* { dg-warning "using .\\-\\(unsigned( int)?\\)port." "" { target *-*-* } 10 } */
- /* { dg-warning "also found .\\+\\(Protocol \\*\\)port." "" { target *-*-* } 15 } */
+ /* { dg-message "using .\\-\\(unsigned( int)?\\)port." "" { target *-*-* } 10 } */
+ /* { dg-message "also found .\\+\\(Protocol \\*\\)port." "" { target *-*-* } 15 } */
[receiver starboard]; /* { dg-warning "no .\\+starboard. method found" } */
/* { dg-warning "Messages without a matching method signature" "" { target *-*-* } 26 } */
« no previous file with comments | « gcc/gcc/testsuite/objc.dg/method-4.m ('k') | gcc/gcc/testsuite/objc.dg/proto-lossage-2.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698