diff options
Diffstat (limited to 'gcc/testsuite/obj-c++.dg/method-12.mm')
-rw-r--r-- | gcc/testsuite/obj-c++.dg/method-12.mm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/testsuite/obj-c++.dg/method-12.mm b/gcc/testsuite/obj-c++.dg/method-12.mm index 2282dec..4546144 100644 --- a/gcc/testsuite/obj-c++.dg/method-12.mm +++ b/gcc/testsuite/obj-c++.dg/method-12.mm @@ -24,9 +24,7 @@ void foo(void) { /* { dg-message "also found .\\+\\(Protocol \\*\\)port." "" { target *-*-* } Derived_port_last } */ [receiver starboard]; /* { dg-warning "no .\\+starboard. method found" } */ - /* { dg-warning "Messages without a matching method signature" "" { target *-*-* } .-1 } */ - /* { dg-warning "will be assumed to return .id. and accept" "" { target *-*-* } .-2 } */ - /* { dg-warning ".\.\.\.. as arguments" "" { target *-*-* } .-3 } */ + /* { dg-warning "messages without a matching method signature will be assumed to return .id. and accept .\.\.\.. as arguments" "" { target *-*-* } 0 } */ [Class port]; /* { dg-error ".Class. is not an Objective\\-C class name or alias" } */ } |