From: H.J. Lu Date: Tue, 5 May 2020 20:35:36 +0000 (-0700) Subject: matcher-1.m: Change return type to int X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d0aed8d5ba77e0756f3c9ebcd65eba1bfb11f24b;p=gcc.git 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. --- 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. */