From: Rainer Orth Date: Wed, 15 Nov 2017 09:50:59 +0000 (+0000) Subject: Fix -Wreturn-type fallout in g++.dg/cpp0x/rv-trivial-bug.C on Solaris 10 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f46e633262cb87526469b3340b298fc523f5b32b;p=gcc.git Fix -Wreturn-type fallout in g++.dg/cpp0x/rv-trivial-bug.C on Solaris 10 * g++.dg/cpp0x/rv-trivial-bug.C (test2): Return a value. From-SVN: r254760 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e006115e8fc..74d35abbc0a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-11-15 Rainer Orth + + * g++.dg/cpp0x/rv-trivial-bug.C (test2): Return a value. + 2017-11-15 Jakub Jelinek PR target/82981 diff --git a/gcc/testsuite/g++.dg/cpp0x/rv-trivial-bug.C b/gcc/testsuite/g++.dg/cpp0x/rv-trivial-bug.C index b729dc83df1..09732d17cdd 100644 --- a/gcc/testsuite/g++.dg/cpp0x/rv-trivial-bug.C +++ b/gcc/testsuite/g++.dg/cpp0x/rv-trivial-bug.C @@ -24,6 +24,7 @@ int test2() assert(move_assign == 0); b = static_cast(b2); assert(move_assign == 1); + return 0; } int main()