diff options
Diffstat (limited to 'gcc/testsuite/obj-c++.dg/method-6.mm')
-rw-r--r-- | gcc/testsuite/obj-c++.dg/method-6.mm | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gcc/testsuite/obj-c++.dg/method-6.mm b/gcc/testsuite/obj-c++.dg/method-6.mm index 8f60511..65c0043 100644 --- a/gcc/testsuite/obj-c++.dg/method-6.mm +++ b/gcc/testsuite/obj-c++.dg/method-6.mm @@ -8,11 +8,9 @@ @class NotKnown; void foo(NotKnown *n) { - [NotKnown new]; /* { dg-warning ".interface of class .NotKnown. not found" } */ - [n nonexistent_method]; /* { dg-warning ".interface of class .NotKnown. not found" } */ + [NotKnown new]; /* { dg-warning "'.interface' of class .NotKnown. not found" } */ + [n nonexistent_method]; /* { dg-warning "'.interface' of class .NotKnown. not found" } */ /* { dg-warning "no .\\-nonexistent_method. method found" "" { target *-*-* } .-1 } */ } -/* { dg-warning "Messages without a matching method signature" "" { target *-*-* } 0 } */ -/* { dg-warning "will be assumed to return .id. and accept" "" { target *-*-* } 0 } */ -/* { dg-warning ".\.\.\.. as arguments" "" { target *-*-* } 0 } */ +/* { dg-warning "messages without a matching method signature will be assumed to return .id. and accept .\.\.\.. as arguments" "" { target *-*-* } 0 } */ |