From d0aed8d5ba77e0756f3c9ebcd65eba1bfb11f24b Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 5 May 2020 13:35:36 -0700 Subject: [PATCH] matcher-1.m: Change return type to int my_exception_matcher must return int. Otherwise, this test fails. PR testsuite/84324 * objc/execute/exceptions/matcher-1.m (my_exception_matcher): Change return type to int. --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/objc/execute/exceptions/matcher-1.m | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b36f8748689..40a925e87ea 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2020-05-05 H.J. Lu + + PR testsuite/84324 + * objc/execute/exceptions/matcher-1.m (my_exception_matcher): + Change return type to int. + 2020-05-05 Harald Anlauf PR fortran/93366 diff --git a/gcc/testsuite/objc/execute/exceptions/matcher-1.m b/gcc/testsuite/objc/execute/exceptions/matcher-1.m index cbe4365da90..25d6759cc9c 100644 --- a/gcc/testsuite/objc/execute/exceptions/matcher-1.m +++ b/gcc/testsuite/objc/execute/exceptions/matcher-1.m @@ -20,7 +20,7 @@ int main(void) static unsigned int handlerExpected = 0; -void +int my_exception_matcher(Class match_class, id exception) { /* Always matches. */ -- 2.30.2