From 5a2707633bb664bd8a0f489dc9e311ab0a747d54 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sat, 25 Nov 2017 18:57:01 +0000 Subject: [PATCH] structret1.C (FrameworkObject::action): Return a value. * g++.dg/abi/structret1.C (FrameworkObject::action): Return a value. From-SVN: r255149 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/abi/structret1.C | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 545c39dccdd..4c4b81eadab 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-11-25 Andreas Schwab + + * g++.dg/abi/structret1.C (FrameworkObject::action): Return a + value. + 2017-11-25 Jakub Jelinek PR target/82848 diff --git a/gcc/testsuite/g++.dg/abi/structret1.C b/gcc/testsuite/g++.dg/abi/structret1.C index e9d4fd0ff9f..7e72d4c7385 100644 --- a/gcc/testsuite/g++.dg/abi/structret1.C +++ b/gcc/testsuite/g++.dg/abi/structret1.C @@ -20,6 +20,7 @@ ConstructedObject FrameworkObject::action() { if (this != r33) { abort (); } + return ConstructedObject(); } int main() -- 2.30.2