aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-05-05 13:35:36 -0700
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 12:57:38 -0300
commitb914f683c5d52d47b4ec98c8400da3acef83363c (patch)
tree1c660785753f43d3fdf0055f8bc98f80a59f4b2d
parent61c1f0245988cf92ebf706f3fe79dc5f1cc11876 (diff)
downloadgcc-b914f683c5d52d47b4ec98c8400da3acef83363c.zip
gcc-b914f683c5d52d47b4ec98c8400da3acef83363c.tar.gz
gcc-b914f683c5d52d47b4ec98c8400da3acef83363c.tar.bz2
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.
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/objc/execute/exceptions/matcher-1.m2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index b36f874..40a925e 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
diff --git a/gcc/testsuite/objc/execute/exceptions/matcher-1.m b/gcc/testsuite/objc/execute/exceptions/matcher-1.m
index cbe4365..25d6759 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. */