diff options
Diffstat (limited to 'gcc/testsuite/objc.dg/method-9.m')
-rw-r--r-- | gcc/testsuite/objc.dg/method-9.m | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gcc/testsuite/objc.dg/method-9.m b/gcc/testsuite/objc.dg/method-9.m index 3921663ec8f..c72087f1021 100644 --- a/gcc/testsuite/objc.dg/method-9.m +++ b/gcc/testsuite/objc.dg/method-9.m @@ -1,5 +1,5 @@ -/* Check if finding multiple signatures for a method is handled gracefully - when method lookup succeeds (see also method-7.m). */ +/* APPLE LOCAL file mainline */ +/* Check if finding multiple signatures for a method is handled gracefully when method lookup succeeds (see also method-7.m). */ /* Contributed by Ziemowit Laski <zlaski@apple.com> */ /* { dg-do compile } */ @@ -37,7 +37,11 @@ /* { dg-warning "also found .\\-\\(id\\)initWithData:\\(int\\)data." "" { target *-*-* } 13 } */ /* The following warning is a consequence of picking the "wrong" method signature. */ - /* { dg-warning "passing argument 1 of .initWithData:. from incompatible pointer type" "" { target *-*-* } 33 } */ + /* APPLE LOCAL mainline */ + /* { dg-warning "passing argument 1 of .initWithData:. from distinct Objective\\-C type" "" { target *-*-* } 33 } */ return result; } @end + +/* { dg-options "-Wstrict-selector-match" } */ + |