aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/obj-c++.dg/exceptions-5.mm
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/obj-c++.dg/exceptions-5.mm')
-rw-r--r--gcc/testsuite/obj-c++.dg/exceptions-5.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/obj-c++.dg/exceptions-5.mm b/gcc/testsuite/obj-c++.dg/exceptions-5.mm
index 087533b..c1a2e4c 100644
--- a/gcc/testsuite/obj-c++.dg/exceptions-5.mm
+++ b/gcc/testsuite/obj-c++.dg/exceptions-5.mm
@@ -70,7 +70,7 @@ 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 } */
+ { /* { dg-error "no matching function" "" { target *-*-* } .-1 } */
dummy++; /* { dg-message "MyObject" "" { target *-*-* } 13 } */
} /* { dg-message "candidate" "" { target *-*-* } 13 } */