structret1.C (FrameworkObject::action): Return a value.
authorAndreas Schwab <schwab@linux-m68k.org>
Sat, 25 Nov 2017 18:57:01 +0000 (18:57 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Sat, 25 Nov 2017 18:57:01 +0000 (18:57 +0000)
* g++.dg/abi/structret1.C (FrameworkObject::action): Return a
value.

From-SVN: r255149

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/structret1.C

index 545c39dccdd68a2d8131c854eb7dfe1277b87752..4c4b81eadabedd520e07f97c1993cfc1babf9e1b 100644 (file)
@@ -1,3 +1,8 @@
+2017-11-25  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * g++.dg/abi/structret1.C (FrameworkObject::action): Return a
+       value.
+
 2017-11-25  Jakub Jelinek  <jakub@redhat.com>
 
        PR target/82848
index e9d4fd0ff9fa90c3a42c76517cf2e2eade5d5a8f..7e72d4c7385bf221e5ca8398fc33b379fd16fed4 100644 (file)
@@ -20,6 +20,7 @@ ConstructedObject FrameworkObject::action() {
   if (this != r33) {
     abort ();
   }
+  return ConstructedObject();
 }
 
 int main()