diff options
Diffstat (limited to 'gcc/testsuite/obj-c++.dg/exceptions-5.mm')
-rw-r--r-- | gcc/testsuite/obj-c++.dg/exceptions-5.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/obj-c++.dg/exceptions-5.mm b/gcc/testsuite/obj-c++.dg/exceptions-5.mm index ba0e543..1ea9a6f 100644 --- a/gcc/testsuite/obj-c++.dg/exceptions-5.mm +++ b/gcc/testsuite/obj-c++.dg/exceptions-5.mm @@ -71,9 +71,9 @@ int test (id object) @try { @throw object; } @catch (MyObject) /* { dg-error "@catch parameter is not a known Objective-C class type" } */ { /* { dg-error "no matching function" "" { target *-*-* } 72 } */ - dummy++; /* { dg-warning "MyObject" "" { target *-*-* } 13 } */ - } /* { dg-warning "candidate" "" { target *-*-* } 13 } */ - /* { dg-warning "candidate" "" { target *-*-* } 72 } */ + dummy++; /* { dg-message "MyObject" "" { target *-*-* } 13 } */ + } /* { dg-message "candidate" "" { target *-*-* } 13 } */ + /* { dg-message "candidate" "" { target *-*-* } 72 } */ @try { @throw object; } @catch (static MyObject *) /* { dg-error "storage class" } */ |