public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Fix -Wreturn-type fallout
@ 2017-11-25 19:06 Andreas Schwab
  0 siblings, 0 replies; only message in thread
From: Andreas Schwab @ 2017-11-25 19:06 UTC (permalink / raw)
  To: gcc-patches

Installed as obvious.

Andreas.

	* g++.dg/abi/structret1.C (FrameworkObject::action): Return a
	value.

Index: g++.dg/abi/structret1.C
===================================================================
--- g++.dg/abi/structret1.C	(revision 255148)
+++ g++.dg/abi/structret1.C	(working copy)
@@ -20,6 +20,7 @@
   if (this != r33) {
     abort ();
   }
+  return ConstructedObject();
 }
 
 int main()
-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-25 18:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-25 19:06 Fix -Wreturn-type fallout Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).