aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/obj-c++.dg/protocol-qualifier-2.mm
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/obj-c++.dg/protocol-qualifier-2.mm')
-rw-r--r--gcc/testsuite/obj-c++.dg/protocol-qualifier-2.mm6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/obj-c++.dg/protocol-qualifier-2.mm b/gcc/testsuite/obj-c++.dg/protocol-qualifier-2.mm
index fd25d8f..9fb09b5 100644
--- a/gcc/testsuite/obj-c++.dg/protocol-qualifier-2.mm
+++ b/gcc/testsuite/obj-c++.dg/protocol-qualifier-2.mm
@@ -25,7 +25,7 @@ void test1 (void)
{
[object1 method]; /* Ok */
[object2 method]; /* { dg-warning ".MyClass. may not respond to ..method." } */
- /* { dg-warning "without a matching method" "" { target *-*-* } 27 } */
- /* { dg-warning "will be assumed to return" "" { target *-*-* } 27 } */
- /* { dg-warning "as arguments" "" { target *-*-* } 27 } */
+ /* { dg-warning "without a matching method" "" { target *-*-* } .-1 } */
+ /* { dg-warning "will be assumed to return" "" { target *-*-* } .-2 } */
+ /* { dg-warning "as arguments" "" { target *-*-* } .-3 } */
}