From: Dominique d'Humieres Date: Sat, 29 Dec 2018 22:30:14 +0000 (+0100) Subject: key2.C: Silence the [-Wreturn-type] warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0402d00e34836b44511ea48cd5f5acad2efb0f6e;p=gcc.git key2.C: Silence the [-Wreturn-type] warning. 2018-12-29 Dominique d'Humieres * g++.dg/abi/key2.C: Silence the [-Wreturn-type] warning. From-SVN: r267469 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5e9bd887c41..3384478e347 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2018-12-29 Dominique d'Humieres + + * g++.dg/abi/key2.C: Silence the [-Wreturn-type] warning. + 2018-12-29 Steven G. Kargl * gfortran.dg/ieee/ieee_11.F90: New test. diff --git a/gcc/testsuite/g++.dg/abi/key2.C b/gcc/testsuite/g++.dg/abi/key2.C index c79b3b2a20c..516250a90b2 100644 --- a/gcc/testsuite/g++.dg/abi/key2.C +++ b/gcc/testsuite/g++.dg/abi/key2.C @@ -14,4 +14,4 @@ class f } c; inline void f::g() {} int sub(void) -{} +{return 0;}