public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Add testcase for PR43850
@ 2010-07-22 14:18 Richard Guenther
  0 siblings, 0 replies; only message in thread
From: Richard Guenther @ 2010-07-22 14:18 UTC (permalink / raw)
  To: gcc-patches


Committed.

2010-07-22  Richard Guenther  <rguenther@suse.de>

	PR lto/43850
	* g++.dg/lto/20100722-1_0.C: New testcase.

Index: testsuite/g++.dg/lto/20100722-1_0.C
===================================================================
--- testsuite/g++.dg/lto/20100722-1_0.C	(revision 0)
+++ testsuite/g++.dg/lto/20100722-1_0.C	(revision 0)
@@ -0,0 +1,5 @@
+/* { dg-lto-do assemble } */
+
+template <class T> void void_cast_register(T *) __attribute__ ((used));
+template <class T> void void_cast_register(T *) { }
+

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

only message in thread, other threads:[~2010-07-22 14:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-22 14:18 [PATCH] Add testcase for PR43850 Richard Guenther

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).