matcher-1.m: Change return type to int
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 5 May 2020 20:35:36 +0000 (13:35 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 5 May 2020 20:35:50 +0000 (13:35 -0700)
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
gcc/testsuite/objc/execute/exceptions/matcher-1.m

index b36f8748689a710299576880533291e215aaa4a6..40a925e87eafe28822e43ebb110da5c33aff36e5 100644 (file)
@@ -1,3 +1,9 @@
+2020-05-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR testsuite/84324
+       * objc/execute/exceptions/matcher-1.m (my_exception_matcher):
+       Change return type to int.
+
 2020-05-05  Harald Anlauf  <anlauf@gmx.de>
 
        PR fortran/93366
index cbe4365da9006f60ba967025a85304f037970905..25d6759cc9cdf428ec86c28048883c8e265a1f81 100644 (file)
@@ -20,7 +20,7 @@ int main(void)
 
 static unsigned int handlerExpected = 0;
 
-void
+int
 my_exception_matcher(Class match_class, id exception)
 {
   /* Always matches.  */